OSDN Git Service

PR c++/51463
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr51463.C
1 // PR c++/51463
2 // { dg-do compile }
3 // { dg-options "-std=c++11" }
4
5 struct A
6 {
7   static virtual int i = 0;     // { dg-error "both virtual and static|declared as" }
8 };