Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / AST / attr-swift_attr.m
blob70e325723b213de571c7b42c411241625dc6b58d
1 // RUN: %clang_cc1 -fsyntax-only -ast-dump %s | FileCheck %s
3 __attribute__((swift_attr("@actor")))
4 @interface View
5 @end
7 // CHECK-LABEL: InterfaceDecl {{.*}} View
8 // CHECK-NEXT: SwiftAttrAttr {{.*}} "@actor"
10 #pragma clang attribute push(__attribute__((swift_attr("@sendable"))), apply_to=objc_interface)
11 @interface Contact
12 @end
13 #pragma clang attribute pop
15 // CHECK-LABEL: InterfaceDecl {{.*}} Contact
16 // CHECK-NEXT: SwiftAttrAttr {{.*}} "@sendable"