mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
391 B
Swift
14 lines
391 B
Swift
// Note: this test intentionally uses a private module cache.
|
|
//
|
|
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -module-cache-path %t/clang-module-cache -I %S/Inputs %s
|
|
// RUN: ls -lR %t/clang-module-cache | %FileCheck %s
|
|
|
|
// CHECK: cfuncs{{.*}}.pcm
|
|
|
|
import cfuncs
|
|
|
|
func test_puts(_ s: String) {
|
|
_ = puts(s) + (32 as Int32)
|
|
}
|