Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr51463.C
blob: 472a812205aadfed6c93b3727f59539fb0613c04 [
file
] [
log
] [
blame
]
// PR c++/51463
// { dg-do compile { target c++11 } }
struct
A
{
static
virtual
int
i
=
0
;
// { dg-error "10:member .i. cannot be declared both .virtual. and .static." }
// { dg-error "declared as" "" { target *-*-* } .-1 }
};