mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We were already effectively doing this everywhere /except/ when building the standard library (which used -O2), so just use the model we want going forward. Swift SVN r20455
9 lines
383 B
Swift
9 lines
383 B
Swift
// RUN: rm -rf %t
|
|
// RUN: mkdir %t
|
|
// RUN: %swift -emit-module -o Swift.swiftmodule -O -sil-inline-threshold 0 -module-name Swift -module-link-name swiftCore -parse-as-library -parse-stdlib -emit-module -sil-serialize-all %S/Inputs/vtable-function-deserialization-input.swift -o %t/Swift.swiftmodule
|
|
// RUN: %swift -I=%t %s -emit-sil -o - -O -sil-link-all
|
|
|
|
import Swift
|
|
|
|
var a = A()
|