summaryrefslogtreecommitdiff
path: root/test/C++Frontend/2003-08-24-Cleanup.cpp.tr
blob: 3f54f5e0abe95ea6635f8eb19f74b6736a34f9c2 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %gxx -xc++ %s -c -o - | llvm-dis | grep unwind

struct S { ~S(); };

int mightthrow();

int test() {
  S s;
  mightthrow();
}