diff tests/parser/simple_missing_1.d @ 189:75d0544ddc45

Better error handling on unexpected EOF.
author Anders Johnsen <skabet@gmail.com>
date Fri, 25 Jul 2008 13:50:01 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/parser/simple_missing_1.d	Fri Jul 25 13:50:01 2008 +0200
@@ -0,0 +1,10 @@
+
+int main(int x)
+{
+    x = 5;
+
+    y = 6 * -x;
+    return x;
+}
+
+int y;