llvm-for-llvmta/tools/clang/test/AST/attr-swift_bridge.m

12 lines
317 B
Mathematica
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -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"