mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
20 lines
644 B
Swift
20 lines
644 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend %s -typecheck -module-name Core -clang-header-expose-decls=all-public -emit-clang-header-path %t/core.h
|
|
// RUN: %FileCheck %s < %t/core.h
|
|
|
|
// RUN: %check-interop-cxx-header-in-clang(%t/core.h)
|
|
|
|
// REQUIRES: PTRSIZE=64
|
|
|
|
// CHECK: namespace swift SWIFT_PRIVATE_ATTR {
|
|
|
|
// CHECK: namespace _impl {
|
|
|
|
// CHECK: // Swift type metadata response type.
|
|
// CHECK-NEXT: struct MetadataResponseTy {
|
|
// CHECK-NEXT: void * _Null_unspecified _0;
|
|
// CHECK-NEXT: uint64_t _1;
|
|
// CHECK-NEXT: };
|
|
// CHECK-NEXT: // Swift type metadata request type.
|
|
// CHECK-NEXT: typedef uint64_t MetadataRequestTy;
|