blob: 36eec28a0ab75eb813e0e7cbdad89059a7d5fca6 [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;
Vedant Kumar276d5d92015-09-11 17:39:34 +00008 } catch (int e) {
Vedant Kumardb609472015-09-11 15:40:05 +00009 return;
10 }
11 }
12// CHECK: define void @_ZN5test03fooEv() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
13}