Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
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
;
}