mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It was only used in a few tests. Those tests now use -emit-sil instead of -emit-silgen, with some functions marked @_transparent and a few CHECK: lines changed now that the mandatory optimizations get to run.
9 lines
382 B
Swift
9 lines
382 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -O -module-name Swift -module-link-name swiftCore -parse-as-library -parse-stdlib -emit-module %S/Inputs/witnesstable-function-deserialization-input.swift -o %t/Swift.swiftmodule -sil-inline-threshold 10
|
|
// RUN: %target-swift-frontend -I %t %s -emit-sil -o - -O
|
|
|
|
import Swift
|
|
|
|
var x = X()
|
|
makeZDoSomething(x)
|