mirror of https://github.com/microsoft/clang.git
[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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@247437 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f60246d023
commit
f095bc2c1d
|
@ -5,7 +5,7 @@ namespace test0 {
|
|||
void foo() {
|
||||
try {
|
||||
throw 0;
|
||||
} catch (...) {
|
||||
} catch (int e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@ void *abuse_personality_func() {
|
|||
void foo() {
|
||||
try {
|
||||
throw 0;
|
||||
} catch (...) {
|
||||
} catch (int e) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue