view tests/mini/dottypeexp.d @ 727:eea28bfa8416

Change default to not using inreg.
author Christian Kamm <kamm incasoftware de>
date Sun, 26 Oct 2008 14:11:14 +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(); }