Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
static3.C
blob: 5c52f0e217dde47ef71eda179935f2643612ffaf [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed static
class
foo
{
public
:
static
void
bar
(
int
i
){
value
=
i
;
}
static
int
value
;
// ERROR - .*
};
const
int
foo
::
value
=
0
;
// should be an error.// ERROR - .*
int
main
(){
foo
::
bar
(
1
);
return
0
;
}