Files
swift-mirror/test/Driver/sdk-link.swift
Dmitri Hrybenko f87788f218 tests: remove ld-add_ast_path feature
We don't support building Swift with linkers that don't support this feature.

Swift SVN r27180
2015-04-09 21:47:55 +00:00

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