summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/virtual1.C
blob: 5f44fa78ab2c958d786cc609b20885f326112767 (plain)
1
2
3
4
5
6
7
// PR c++/26070
// { dg-do compile }

struct A
{
  virtual static int i;  // { dg-error "virtual" }
};