Mercurial > projects > dang
annotate tests/parser/new_1.d @ 163:362265427838
Fixes to types for constructor and also removed DFunction's from DStruct, DClass and DInterface
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Tue, 22 Jul 2008 16:50:47 +0200 |
parents | 0f38f1a0f06f |
children | 7606387b2f0a |
rev | line source |
---|---|
163
362265427838
Fixes to types for constructor and also removed DFunction's from DStruct, DClass and DInterface
Anders Johnsen <skabet@gmail.com>
parents:
162
diff
changeset
|
1 class A{this(int y){}int x;}struct B |
362265427838
Fixes to types for constructor and also removed DFunction's from DStruct, DClass and DInterface
Anders Johnsen <skabet@gmail.com>
parents:
162
diff
changeset
|
2 {}void main(){B b;long x;A a=new A(x);} |