Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
diag13320.d
blob: 46a00320aaa09119587c8dbb93f01650f960c7e5 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/diag13320.d(13): Error: 'f += 1' is not a scalar, it is a Foo
---
*/
struct
Foo
{}
void
main
()
{
Foo
f
;
++
f
;
}