Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
other
/
static5.C
blob: 007b7c398d148d5cf086f3adf87be21a3ff82c56 [
file
] [
log
] [
blame
]
struct
S
{
static
int
i
;
const
static
double
d
;
};
static
int
S
::
i
;
// { dg-error "1:.static. may not be used" }
const
static
double
S
::
d
=
1.0
;
// { dg-error "7:.static. may not be used" }