mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
I am doing this separately from the actual change to eliminate the option to make it easier to review.
13 lines
153 B
Swift
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}}
|
|
|