diff options
| author | Anders Carlsson <andersca@mac.com> | 2011-02-19 19:23:03 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2011-02-19 19:23:03 +0000 |
| commit | 479d6f51e33a95d955be7c62087b7fa375b37b54 (patch) | |
| tree | 4eff875f09652bd1213f70930414bddf17d462b7 /clang/test/CodeGenCXX/nrvo.cpp | |
| parent | 0cf82f6ad04d96ee795d8e829320daaf32581549 (diff) | |
| download | bcm5719-llvm-479d6f51e33a95d955be7c62087b7fa375b37b54.tar.gz bcm5719-llvm-479d6f51e33a95d955be7c62087b7fa375b37b54.zip | |
Pass -fexceptions to all tests that use try/catch/throw.
llvm-svn: 126037
Diffstat (limited to 'clang/test/CodeGenCXX/nrvo.cpp')
| -rw-r--r-- | clang/test/CodeGenCXX/nrvo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/nrvo.cpp b/clang/test/CodeGenCXX/nrvo.cpp index ecf6afdc7ca..d03b21bacba 100644 --- a/clang/test/CodeGenCXX/nrvo.cpp +++ b/clang/test/CodeGenCXX/nrvo.cpp @@ -132,6 +132,7 @@ X test4(bool B) { exit(1); } +#ifdef __EXCEPTIONS // CHECK-EH: define void @_Z5test5 void may_throw(); X test5() { @@ -144,3 +145,4 @@ X test5() { return x; } } +#endif |

