mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-09-16 02:17:07 +02:00
Add tests.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
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(); }
|
||||
Reference in New Issue
Block a user