diff tests/parser/new_1.d @ 165:7606387b2f0a

Better handling of param checking on method calls.
author Anders Johnsen <skabet@gmail.com>
date Tue, 22 Jul 2008 18:24:15 +0200
parents 362265427838
children
line wrap: on
line diff
--- a/tests/parser/new_1.d	Tue Jul 22 16:53:47 2008 +0200
+++ b/tests/parser/new_1.d	Tue Jul 22 18:24:15 2008 +0200
@@ -1,2 +1,2 @@
 class A{this(int y){}int x;}struct B
-{}void main(){B b;long x;A a=new A(x);}
+{}void main(){B b;long x;A a=new A(x);} int x = 5; int foo(){int y = 5; y = y + x * 5; return y;}