Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=16772
2 /* TEST_OUTPUT:
3 ---
4 fail_compilation/fail16772.d(8): Error: function `ice16772` cannot return type `ubyte[]` because its linkage is `extern(C++)`
5 fail_compilation/fail16772.d(8): slices are specific to D and do not have a counterpart representation in C++
6 ---
7 */
8 extern(C++) ubyte[] ice16772() { return []; }