Files
ldc/tests/mini/dottypeexp.d
Christian Kamm 3506960765 Add tests.
2008-10-07 20:22:04 +02:00

5 lines
204 B
D

extern(C) int printf(char*, ...);
template Foo() { void test() { printf("test\n"); typeof(this).whee(); } }
class Bar { void whee() { printf("whee\n"); } mixin Foo!(); }
void main() { (new Bar).test(); }