diff compile/u/unittest_10_B.d @ 1311:721a83317b14

[Issue 776] Unittest section inside a template does not alway execute. Peter C. Chapin <pchapin@ecet.vtc.edu> 2006-12-30 http://d.puremagic.com/issues/show_bug.cgi?id=776
author thomask
date Sun, 31 Dec 2006 14:28:14 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compile/u/unittest_10_B.d	Sun Dec 31 14:28:14 2006 +0000
@@ -0,0 +1,16 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Peter C. Chapin <pchapin@ecet.vtc.edu>
+// @date@	2006-12-30
+// @uri@	http://d.puremagic.com/issues/show_bug.cgi?id=776
+// @desc@	[Issue 776] Unittest section inside a template does not alway execute.
+
+module /*dstress.*/compile.u.unittest_10_B;
+
+class B(){
+	unittest{
+		throw new Exception("cat");
+	}
+}