☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9247.d
☽
☼
gcc/testsuite/gdc.test/fail_compilation/diag9247.d
code
plain
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;