Debian Codegraph @

gcc/testsuite/gdc.test/fail_compilation/fail16206a.d

raw
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 */
7
8 struct S
9 {
10 static int foo()() { return 0; }
11 }
12
13 alias AliasSeq(T...) = T;
14 alias allFoos = AliasSeq!(__traits(getOverloads, S, "foo", "Not a bool"));