mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Also removed the sdk 'feature' in favour of the more specific objc_interop. Swift SVN r24856
17 lines
392 B
Swift
17 lines
392 B
Swift
// Note: this test intentionally uses a private module cache.
|
|
//
|
|
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: %target-swift-frontend %clang-importer-sdk -parse -verify -module-cache-path %t/clang-module-cache -I %S/Inputs %s
|
|
// RUN: ls -lR %t/clang-module-cache | FileCheck %s
|
|
|
|
// XFAIL: linux
|
|
|
|
// CHECK: cfuncs{{.*}}.pcm
|
|
|
|
import cfuncs
|
|
|
|
func test_puts(s: String) {
|
|
var i = puts(s) + 32
|
|
}
|