blob: 76a5a08458233b7405d774b89e4d38328a3e4593 [file] [log] [blame]
Vedant Kumardb609472015-09-11 15:40:05 +00001// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -fobjc-exceptions -o - %s | FileCheck %s
2
3// rdar://problem/22155434
4namespace test0 {
5 void foo() {
6 try {
7 throw 0;
8 } catch (...) {
9 return;
10 }
11 }
12// CHECK: define void @_ZN5test03fooEv() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
13}