Files
swift-mirror/test/IRGen/noinline.swift
Michael Gottesman fd4828e40a Eliminate -assume-parsing-unqualified-ownership-sil from tests.
I am doing this separately from the actual change to eliminate the option to
make it easier to review.
2018-12-19 12:54:13 -08:00

13 lines
153 B
Swift

// RUN: %target-swift-frontend %s -O -emit-ir | %FileCheck %s
public var x = 0
@inline(never) func foo() {
x = 1
}
foo()
// CHECK: call {{.*foo}}