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 | e41721e7dfabcc15cb50be9075a4153f1ad648ea (patch) | |
tree | 81dd9c105b254d13ee60dfea27bec414541c975c /test/CodeGenCXX/nrvo.cpp | |
parent | f4b793ceb60418b64d3593ba3c8240e3594bff8f (diff) |
Pass -fexceptions to all tests that use try/catch/throw.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/nrvo.cpp')
-rw-r--r-- | test/CodeGenCXX/nrvo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenCXX/nrvo.cpp b/test/CodeGenCXX/nrvo.cpp index ecf6afdc7c..d03b21bacb 100644 --- a/test/CodeGenCXX/nrvo.cpp +++ b/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 |