diff run/goto_09.d @ 186:c18d6e8a712e

extended goto tests
author thomask
date Thu, 09 Dec 2004 06:54:59 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/run/goto_09.d	Thu Dec 09 06:54:59 2004 +0000
@@ -0,0 +1,15 @@
+// $HeadURL$
+// $Date$
+// $Author$
+
+module dstress.run.goto_09;
+
+int main(){
+	if(0){
+label:
+		return 0;
+	}else{
+		goto label;
+	}
+	assert(0);
+}