view tests/mini/dottypeexp.d @ 1111:0f8aeb31678c

Fix 32bit "+2" typo for Outbuffer::reserve
author Kelly Wilson <wilsonk cpsc.ucalgary.ca>
date Fri, 13 Mar 2009 07:17:29 -0600
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(); }