You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
317 B

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