mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
expression but ignoring its value. This is the right canonical way to do this. NFC, just testsuite changes. Swift SVN r28638
17 lines
399 B
Swift
17 lines
399 B
Swift
// Note: this test intentionally uses a private module cache.
|
|
//
|
|
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t
|
|
// RUN: %target-swift-frontend(mock-sdk: %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) {
|
|
_ = puts(s) + 32
|
|
}
|