Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr70621.C
blob: 63eb92805f6e1b776ec87b6e67c4c4c14dc40cda [
file
] [
log
] [
blame
]
float
foo
();
struct
A
{
static
float
x
;
// { dg-message "previous declaration" }
};
double
A
::
x
=
foo
();
// { dg-error "conflicting declaration" }
void
bar
()
{
A
::
x
=
0
;
}