d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / test16495.d
blob667d4c2feb774f62d1f5c417674af4e1e1b7182f
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 */
8 // https://issues.dlang.org/show_bug.cgi?id=16495
10 void test1()
12 auto m = __traits(fullyQualifiedName, q);
15 void test2()
17 auto n = __traits(fullyQualifiedName);