Debian Codegraph @

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

raw
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 */
10
11 extern(C++, "")
12 {
13 }
14
15 extern(C++, "0num")
16 {
17 }
18
19 extern(C++, 1+1)
20 {
21 }
22
23 extern(C++, "invalid@namespace")
24 {
25 }