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

struct A
{
  virtual static ~A();  // { dg-error "virtual" }
};