Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
no-typename1.C
blob: 711c621e26a4383c19f254c9e84ee54b9995c6fd [
file
] [
log
] [
blame
]
// PR c++/4903
// Origin: Dan Marinescu <theverylittleone@hotmail.com>
// { dg-do compile }
template
<
typename
T
>
struct
A
{
template
<
typename
U
>
struct
B
{
A
<
T
>::
template
B
<
U
>
foo
();
// { dg-error "" "" { target c++17_down } }
};
};