mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We don't support building Swift with linkers that don't support this feature. Swift SVN r27180
13 lines
335 B
Swift
13 lines
335 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir %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: objc_interop
|
|
|
|
import Foundation
|
|
|
|
// CHECK: {{^}}ABCDEF{{$}}
|
|
println(("ABC" as NSString).stringByAppendingString("DEF"))
|