Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail132.d
blob: 58ce8a1a6bc04e65ca371291abf5d8dea825326b [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail132.d(19): Error: cannot construct nested class `B` because no implicit `this` reference to outer class `A` is available
---
*/
//import std.stdio;
class
A
{
class
B
{
}
}
void
main
()
{
A
.
B c
=
new
A
.
B
;
}