Sign in
gnu
/
gcc
/
refs/tags/releases/gcc-3.3.6
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
type1.C
blob: cd5cf5f0cd3c3626b618f134cc8001b155d7b768 [
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 "parameters" }
int
A
::
C
::
d
;
// { dg-error "no type" }