aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/pr51463.C
blob: 6a57e47825cf150e7d2e68490d6bb73e5aa9e3f0 (plain)
1
2
3
4
5
6
7
// PR c++/51463
// { dg-do compile { target c++11 } }

struct A
{
  static virtual int i = 0;	// { dg-error "both virtual and static|declared as" }
};