diff undefined/abstract_04.d @ 598:66f476bc8963

undefined contracts for abstract functions
author thomask
date Fri, 24 Jun 2005 08:39:45 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/undefined/abstract_04.d	Fri Jun 24 08:39:45 2005 +0000
@@ -0,0 +1,19 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+// @author@	Stewart Gordon <Steward_member@pathlink.com>
+// @date@	2004-09-24
+// @uri@	news:cj0qf6$2u2v$1@digitaldaemon.com
+// @url@	nntp://digitalmars.com/digitalmars.D.bugs/1940
+
+module dstress.compile.abstract_04;
+
+int status;
+
+abstract interface MyInterface{
+	abstract int test()
+		in{
+			status++;
+		};
+}