Sign in
gnu
/
gcc
/
fba228e259dd5112851527f2dbb62c5601100985
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail38.d
blob: 0f2cd5f35707618e71ad2074eebcbe30d1f6f98a [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail38.d(12): Error: 'super' is only allowed in non-static class member functions
---
*/
int
x
;
void
test
()
{
super
.
x
=
2
;
}
int
main
()
{
test
();
return
0
;
}