1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
// EXTRA_SOURCES: imports/m1a.d // PERMUTE_ARGS: module m1; import std.stdio; import imports.m1a; class A { } A createA() { return new A; } alias A function() aliasM1; void main() { aFunc( &createA ); printf("Success\n"); }