diff options
Diffstat (limited to 'test/C++Frontend/2003-08-24-Cleanup.cpp.tr')
-rw-r--r-- | test/C++Frontend/2003-08-24-Cleanup.cpp.tr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/C++Frontend/2003-08-24-Cleanup.cpp.tr b/test/C++Frontend/2003-08-24-Cleanup.cpp.tr new file mode 100644 index 0000000..ab0d1a0 --- /dev/null +++ b/test/C++Frontend/2003-08-24-Cleanup.cpp.tr @@ -0,0 +1,10 @@ +// RUN: %llvmgxx -xc++ %s -c -o - | llvm-dis | grep unwind + +struct S { ~S(); }; + +int mightthrow(); + +int test() { + S s; + mightthrow(); +} |