summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/dtor9.C
blob: 64c82ce67a9cad3a6e902687f0932ef0af99dbb7 (plain)
1
2
3
4
5
// PR c++/27508
// { dg-do compile }

struct A;
using ::~A;  // { dg-error "not a class-name" }