diff options
author | Vedant Kumar <vsk@apple.com> | 2015-09-11 17:39:34 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2015-09-11 17:39:34 +0000 |
commit | 276d5d9fbc7b0cf9bcd32adff7ed1a0f9bd6819e (patch) | |
tree | 0de09d949e6d60ce792c15cb881c0530c769ca7b /clang | |
parent | 7482709974b0f4001aef82d2489a683004b5a5a6 (diff) | |
download | bcm5719-llvm-276d5d9fbc7b0cf9bcd32adff7ed1a0f9bd6819e.tar.gz bcm5719-llvm-276d5d9fbc7b0cf9bcd32adff7ed1a0f9bd6819e.zip |
[test] Specify exception object type in two tests
Replace:
'try { throw 0; } catch (...)'
with
'try { throw 0; } catch (int e)'
in two test cases.
Differential Revision: http://reviews.llvm.org/D12743
llvm-svn: 247437
Diffstat (limited to 'clang')
-rw-r--r-- | clang/test/CodeGenObjCXX/exception-cxx.mm | 2 | ||||
-rw-r--r-- | clang/test/CodeGenObjCXX/personality-abuse.mm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjCXX/exception-cxx.mm b/clang/test/CodeGenObjCXX/exception-cxx.mm index 76a5a084582..36eec28a0ab 100644 --- a/clang/test/CodeGenObjCXX/exception-cxx.mm +++ b/clang/test/CodeGenObjCXX/exception-cxx.mm @@ -5,7 +5,7 @@ namespace test0 { void foo() { try { throw 0; - } catch (...) { + } catch (int e) { return; } } diff --git a/clang/test/CodeGenObjCXX/personality-abuse.mm b/clang/test/CodeGenObjCXX/personality-abuse.mm index 55e0e2c832a..f5170bf75c0 100644 --- a/clang/test/CodeGenObjCXX/personality-abuse.mm +++ b/clang/test/CodeGenObjCXX/personality-abuse.mm @@ -11,7 +11,7 @@ void *abuse_personality_func() { void foo() { try { throw 0; - } catch (...) { + } catch (int e) { return; } } |