brintos

brintos / llvm-project-archived public Read only

0
0
Text · 343 B · 70401b0 Raw
13 lines · plain
1// RUN: %clang_cc1 -x objective-c++ -triple x86_64-apple-darwin10 -emit-llvm -fcxx-exceptions -fexceptions -fobjc-exceptions -o - %s | FileCheck %s2 3namespace test0 {4  void foo() {5    try {6      throw 0;7    } catch (int e) {8      return;9    }10  }11// CHECK: define{{.*}} void @_ZN5test03fooEv() #0 personality ptr @__gxx_personality_v012}13