Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail38.d
blob: 344a075a708e4c63a135ebdadd1e1806637482b6 [
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
;
}