summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/scoping5.C
blob: 8c4d7fdde9bfd4582852265bf5b0d2cdd43cd604 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// Bug: g++ thinks that A defines operator delete, and tries to call it.

struct A {
  ~A () { ::operator delete (0); }
};