Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
non-templ1.C
blob: 07bb3793a6daa6d7f11388a11916ecab44d382a9 [
file
] [
log
] [
blame
]
// PR c++/9228
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
// { dg-do compile }
struct
A
{
struct
B
{
B
(
int
);
};
};
template
<
typename
T
>
typename
A
<
T
>::
B foo
()
{
return
1
;
}
// { dg-error "" }