1 // RUN: %clang_cc1 -emit-llvm -fobjc-exceptions -triple x86_64-unknown-linux -o - %s | FileCheck %s
3 // Test that the nomerge attribute is applied to function calls
4 // in @try, @catch and @finally
9 int main(int argc, const char * argv[]) {
10 __attribute__((nomerge)) @try {
21 // CHECK: call void @opaque() #[[ATTR0:[0-9]+]]
22 // CHECK-DAG: call void @opaque2() #[[ATTR0]]
23 // CHECK-DAG: call void @opaque3() #[[ATTR0]]
24 // CHECK-DAG: attributes #[[ATTR0]] = {{{.*}}nomerge{{.*}}}