Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
type1.C
blob: 0191ae55dfc5fa81198e96f11bbe9717403621d2 [
file
] [
log
] [
blame
]
// Test for helpful error messages on invalid nested-name-specifiers.
struct
A
{
template
<
class
T
>
struct
B
{
static
int
c
;
};
};
int
A
::
B
::
c
;
// { dg-error "arguments" }
int
A
::
C
::
d
;
// { dg-error "declared" }