1 // RUN: %clang_cc1 %s -std=c++11 -triple=x86_64-apple-darwin10 -emit-llvm -o - -fcxx-exceptions -fexceptions | FileCheck %s
7 // CHECK: invoke void @_Z8externalv()
10 // CHECK: [[T0:%.*]] = landingpad { ptr, i32 }
11 // CHECK-NEXT: catch ptr null
12 // CHECK-NEXT: [[T1:%.*]] = extractvalue { ptr, i32 } [[T0]], 0
13 // CHECK-NEXT: call void @__clang_call_terminate(ptr [[T1]]) [[NR_NUW:#[0-9]+]]
14 // CHECK-NEXT: unreachable
16 void reverse() noexcept(false)
18 // CHECK: call void @_Z8externalv()
22 // CHECK: attributes [[NR_NUW]] = { noreturn nounwind }