summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/C++Frontend/2003-08-20-ExceptionFail.cpp
blob: dfad1bff8eb1d6ef1495c797d257188cffc335d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void foo();

void bar() {
  struct local {
    ~local() { foo(); }
  } local_obj;

  try {
    foo();
  } catch(...) {
  }
}

OpenPOWER on IntegriCloud