Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail330.d
blob: a3409db5d1ad3fc64cc83e64ded061d313431284 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail330.d(9): Error: variable fail330.fun.result cannot modify result 'result' in contract
---
*/
int
fun
()
out
(
result
)
{
result
=
2
;
}
body
{
return
1
;
}