d: Merge upstream dmd, druntime 4c18eed967, phobos d945686a4.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / cppmangle.d
blobb3c89b46d2aca72c2b6c10c08f97c5ad2b69d701
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/cppmangle.d(11): Error: expected valid identifier for C++ namespace but got ``
5 fail_compilation/cppmangle.d(15): Error: expected valid identifier for C++ namespace but got `0num`
6 fail_compilation/cppmangle.d(19): Error: compile time string constant (or sequence) expected, not `2`
7 fail_compilation/cppmangle.d(23): Error: expected valid identifier for C++ namespace but got `invalid@namespace`
8 ---
9 */
11 extern(C++, "")
15 extern(C++, "0num")
19 extern(C++, 1+1)
23 extern(C++, "invalid@namespace")