Files
swift-mirror/test/Interpreter/rdar128667580.swift
Pavel Yaskevich 8efdec1d4e [Tests] NFC: Don't attempt to run test-case for rdar://128667580 remotely or on device
The test has dependent object files from Objective-C and is not
expected to be run remotely or on device.
2024-08-23 10:57:59 -07:00

30 lines
672 B
Swift

// RUN: %empty-directory(%t)
// RUN: split-file %s %t
// RUN: %target-clang %t/Impl.m -c -o %t/Test.o
// RUN: %target-build-swift %t/main.swift -import-objc-header %t/Test.h %t/Test.o -Xfrontend -disable-concrete-type-metadata-mangled-name-accessors -o %t/main
// RUN: %target-codesign %t/main
// RUN: %target-run %t/main | %FileCheck %s
// REQUIRES: executable_test
// REQUIRES: objc_interop
// REQUIRES: concurrency
// UNSUPPORTED: remote_run || device_run
//--- Test.h
#import "Foundation/Foundation.h"
@interface Test : NSObject { }
@end
//--- Impl.m
#import "Test.h"
@implementation Test
@end
//--- main.swift
print((any Test & Sendable).self)
// CHECK: Test