mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-10-01 09:39:24 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
module classinfo2;
|
||||
|
||||
class C
|
||||
{
|
||||
}
|
||||
|
||||
class D : C
|
||||
{
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
D d;
|
||||
d = new D;
|
||||
ClassInfo ci = d.classinfo;
|
||||
assert(ci is D.classinfo);
|
||||
}
|
||||
Reference in New Issue
Block a user