Sign in
gnu
/
gcc.git
/
ab7c7b46c35ed1be68d4c020a2f20ee96f68b64b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
error4.C
blob: 9d76561aa02102d71620cfb11882c3ace776d090 [
file
] [
log
] [
blame
]
template
<
class
T
>
struct
C1
{
template
<
class
U
>
struct
C2
{
class
Type
{
};
};
};
template
<
class
T
,
class
U
>
void
foo
(
typename
C1
<
T
>::
C2
<
U
>::
Type
*)
{
}
// { dg-error "template" "error " }
// { dg-message "note" "note" { target *-*-* } .-1 }