view 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 source

class A{this(int y){}int x;}struct B
{}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;}