Debian Codegraph @

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

raw
1 /* TEST_OUTPUT:
2 ---
3 fail_compilation/test16495.d(12): Error: undefined identifier `q`
4 fail_compilation/test16495.d(17): Error: expected 1 arguments for `fullyQualifiedName` but had 0
5 ---
6 */
7
8 // https://issues.dlang.org/show_bug.cgi?id=16495
9
10 void test1()
11 {
12 auto m = __traits(fullyQualifiedName, q);
13 }
14
15 void test2()
16 {
17 auto n = __traits(fullyQualifiedName);
18 }