Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/ice22377.d(8): Error: function `foo` cannot have parameter of type `string` because its linkage is `extern(C++)`
5 ---
6 */
7
8 extern(C++) void foo(string a) {}