Debian Codegraph @

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

raw
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/diag9247.d(11): Error: functions cannot return opaque type `S` by value
5 fail_compilation/diag9247.d(12): Error: functions cannot return opaque type `S` by value
6 ---
7 */
8
9 struct S;
10
11 S foo();
12 S function() bar;