[svn r115] Implemented the ClassInfo.defaultConstructor member.

This commit is contained in:
Tomas Lindquist Olsen
2007-11-22 21:17:54 +01:00
parent be1fcd6a24
commit ccaf229830
3 changed files with 28 additions and 3 deletions

18
test/classinfo4.d Normal file
View File

@@ -0,0 +1,18 @@
module classinfo4;
class C
{
}
class D
{
this()
{
}
}
void main()
{
assert(C.classinfo.defaultConstructor is null);
assert(D.classinfo.defaultConstructor !is null);
}