Mercurial > projects > ldc
view tests/mini/dottypeexp.d @ 734:6dcab994ddc3
Fold in mandel's patch for ARM from #106
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Mon, 27 Oct 2008 16:36:59 +0100 |
parents | 216b14b9a773 |
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(); }