mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
14 lines
352 B
Swift
14 lines
352 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: %target-swift-frontend -emit-module -o %t/test.swiftmodule %s
|
|
// RUN: %target-build-swift -g -o %t/sdk-link %s
|
|
// RUN: %target-run %t/sdk-link | %FileCheck %s
|
|
// REQUIRES: executable_test
|
|
|
|
// REQUIRES: objc_interop
|
|
|
|
import Foundation
|
|
|
|
// CHECK: {{^}}ABCDEF{{$}}
|
|
print(("ABC" as NSString).appending("DEF"))
|