diff run/t/template_62_B.d @ 1514:891196dcfc3a

[Issue 1068] stack corruption with mixins and function templates Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl> 2007-03-19 http://d.puremagic.com/issues/show_bug.cgi?id=1068
author thomask
date Wed, 25 Apr 2007 17:46:32 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/t/template_62_B.d	Wed Apr 25 17:46:32 2007 +0000
@@ -0,0 +1,22 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Tomasz Stachowiak <h3r3tic@mat.uni.torun.pl>
+// @date@	2007-03-19
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=1068
+// @desc@	[Issue 1068] stack corruption with mixins and function templates
+
+// __DSTRESS_DFLAGS__ run/t/template_62_A.d
+
+module /*dstress.*/run.t.template_62_B;
+import /*dstress.*/run.t.template_62_A;
+
+class Foo {
+	mixin Mix;
+}
+
+int main() {
+	Bar.foobar();
+	return 0;
+}