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