clang/test/AST/attr-swift_bridge.m
raw| 1 | // RUN: %clang_cc1 -ast-dump %s | FileCheck %s |
| 2 | |
| 3 | struct __attribute__((__swift_bridge__("BridgedS"))) S; |
| 4 | // CHECK: RecordDecl {{.*}} struct S |
| 5 | // CHECK: SwiftBridgeAttr {{.*}} "BridgedS" |
| 6 | |
| 7 | struct S { |
| 8 | }; |
| 9 | |
| 10 | // CHECK: RecordDecl {{.*}} struct S definition |
| 11 | // CHECK: SwiftBridgeAttr {{.*}} Inherited "BridgedS" |