summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/eh53.C
blob: 5f2ff57ac7a2b93d2bcfaf968c879b2fc814c7cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do run { xfail sparc64-*-elf arm-*-pe } }
// { dg-options "-fexceptions -g" }

class zeroset {
public:
  ~zeroset () { }
};

int main () {
  zeroset a;
  try {
    ;
  } catch( zeroset ) {
  }
}