Home | History | Annotate | Download | only in CodeGenObjCXX
      1 // 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
      4 namespace test0 {
      5   void foo() {
      6     try {
      7       throw 0;
      8     } catch (int e) {
      9       return;
     10     }
     11   }
     12 // CHECK: define void @_ZN5test03fooEv() #0 personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
     13 }
     14