Mercurial > projects > ldc
view tests/mini/dottypeexp.d @ 668:216b14b9a773
Add tests.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Tue, 07 Oct 2008 20:22:04 +0200 |
parents | |
children |
line wrap: on
line source
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(); }