diff tests/code/switch_1.d @ 156:2c5a8061aa4a

Made some tests dmd-compatible
author Anders Johnsen <skabet@gmail.com>
date Mon, 21 Jul 2008 22:13:12 +0200
parents 52eb0eb92e91
children
line wrap: on
line diff
--- a/tests/code/switch_1.d	Mon Jul 21 21:45:54 2008 +0200
+++ b/tests/code/switch_1.d	Mon Jul 21 22:13:12 2008 +0200
@@ -1,6 +1,7 @@
 
-void main(int x)
+void main()
 {
+    int x;
     switch (x)
     {
     }