blob: 7679d673c9e9eb93517f0c453e71dfb9d58c483d [file] [log] [blame]
// Ideally this should work, at least give a nice error messae
/**
REQUIRED_ARGS: -de
TEST_OUTPUT:
---
fail_compilation/issue21203.d(12): Error: pragma `mangle` cannot apply to a template declaration
fail_compilation/issue21203.d(12): use `template Class(Args...){ pragma(mangle, "other_name") class Class {} }`
---
*/
extern(C++)
pragma(mangle,"gdkfjgh")
class F(T)
{
}
void use(F!int a) {}