☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr51463.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr51463.C
code
plain
raw
1
// PR c++/51463
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
static virtual int i = 0; // { dg-error "10:member .i. cannot be declared both .virtual. and .static." }
7
// { dg-error "declared as" "" { target *-*-* } .-1 }
8
};