Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }