aboutsummaryrefslogtreecommitdiff
path: root/clang/test/AST/attr-swift_bridge.m
blob: 64cf5b834a165728528c9bb90a85cc1eb9fae099 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -ast-dump %s | FileCheck %s

struct __attribute__((__swift_bridge__("BridgedS"))) S;
// CHECK: RecordDecl {{.*}} struct S
// CHECK: SwiftBridgeAttr {{.*}} "BridgedS"

struct S {
};

// CHECK: RecordDecl {{.*}} struct S definition
// CHECK: SwiftBridgeAttr {{.*}} Inherited "BridgedS"