diff tests/parser/new_1.d @ 162:0f38f1a0f06f

Fixed symbol for a functions members.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 16:22:58 +0200
parents a2d9121d6dff
children 362265427838
line wrap: on
line diff
--- a/tests/parser/new_1.d	Tue Jul 22 13:39:15 2008 +0200
+++ b/tests/parser/new_1.d	Tue Jul 22 16:22:58 2008 +0200
@@ -8,6 +8,8 @@
     this(int y)
     {
     }
+
+    int x;
 }
 
 struct B
@@ -18,5 +20,5 @@
 {
     B b;
     long x;
-    A a = new A(b);
+    A a = new A(x);
 }