* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git] / gcc / testsuite / g++.dg / other / virtual2.C
blobf007403dfdc6a1cc62527dac6de514e826ffdf3f
1 // PR c++/26071
2 // { dg-do compile }
4 struct A
6   virtual static ~A();  // { dg-error "virtual" }
7 };