I'm guessing it's a missed case in the compiler, and not intentionally omitted.-Steve
The workaround is quite silly. Seems like a parser issue. --- pragma(mangle, "Foo") extern(C) void foo(); mixin template T() { pragma(mangle, "Bar") extern(C) void bar(); } void main() { mixin T!(); // Hurrah! } ---