MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test20324.d
blobc38e348aceeb3acc470633b68eac4b8d0d4d3389
1 /*
2 REQUIRED_ARGS: -unittest
3 TEST_OUTPUT:
4 ---
5 fail_compilation/test20324.d(16): Error: argument `Test()` to __traits(getUnitTests) must be a module or aggregate, not a template
6 fail_compilation/test20324.d(16): while evaluating `pragma(msg, __traits(getUnitTests, Test))`
7 ---
8 */
9 // https://issues.dlang.org/show_bug.cgi?id=20324
11 template Test() {
12 unittest {
16 pragma(msg, __traits(getUnitTests, Test));