Sign in
gnu
/
gcc
/
e547d1341b1fe90672c9b982c4a98f8197237bb7
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail331.d
blob: 8b79ea2a2c59c613acd340584a09c8285232d942 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail331.d(10): Error: cannot use typeof(return) inside function foo with inferred return type
---
*/
auto
foo
()
{
typeof
(
return
)
result
;
return
result
;
}