Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}