llvm-project/clang/test/AST/attr-swift_bridge.m

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
317 B
Mathematica
Raw Normal View History

// 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"