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;
}