Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag9247.d
blob: e22634559cb22552391aede749f34c375fa9657f [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag9247.d(11): Error: functions cannot return opaque type S by value
fail_compilation/diag9247.d(12): Error: functions cannot return opaque type S by value
---
*/
struct
S
;
S foo
();
S
function
()
bar
;