MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail16206a.d
blobd28a8c33731afae3ccf970802f7cb5be605df276
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail16206a.d(14): Error: `bool` expected as third argument of `__traits(getOverloads)`, not `"Not a bool"` of type `string`
5 ---
6 */
8 struct S
10 static int foo()() { return 0; }
13 alias AliasSeq(T...) = T;
14 alias allFoos = AliasSeq!(__traits(getOverloads, S, "foo", "Not a bool"));