Sign in
gnu
/
gcc
/
5fee5ec362f7a243f459e6378fd49dfc89dc9fb5
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail19744.d
blob: 9115b4e7e7f44ea74c4e794447bcec3e2a2a170d [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail19744.d(8): Error: Top-level function `test` has no `this` to which `return` can apply
---
*/
int
*
test
(
return
scope
int
*
n
)
return
{
return
n
;
}