Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ret-type1.C
blob: a5dc93ab0d9702ccd2871a2be72b0c8d8db6bc34 [
file
] [
log
] [
blame
]
// PR c++/2738
// Origin: Wolfgang Bangerth <wolfgang.bangerth@iwr.uni-heidelberg.de>
// { dg-do compile }
template
<
int
i
>
class
A
{
class
C
{
C
();
};
};
template
<
int
i
>
void
A
<i>
::
C
::
C
()
{}
// { dg-error "return type" }