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