Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
crash-9.C
blob: f5c4b2af329474100f00b584f59c7ddd031dc1d3 [
file
] [
log
] [
blame
]
// Origin: PR c++/42915
// { dg-do compile }
template
<
typename
T
>
class
A
{
template
<
typename
U
>
class
B
{
B foo
();
};
};
template
<
typename
T
>
template
<
typename
U
>
A
<
T
>::
template
B
<
U
>
A
<
T
>::
B
<
U
>::
foo
()
{}