Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail8217.d
blob: e74b7c35f2f9f511d3ee192528914e18834c59a2 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/fail8217.d(22): Error: this for foo needs to be type D not type fail8217.D.C
---
*/
class
D
{
int
x
;
template
bar
()
{
int
foo
()
{
return
x
;
}
}
static
class
C
{
int
foo
()
{
return
bar
!().
foo
();
}
}
}