mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
It's likely that these were listed as "REQUIRES: OS=macosx" to not redundantly run them for iOS et al, but they don't take that long and so it's more useful for Linux devs to be able to run them locally if need be. Or to catch something that really is different on non-macOS.
13 lines
269 B
Swift
13 lines
269 B
Swift
// RUN: %scale-test -Onone --begin 0 --end 10 --step 1 --select transferNodesFromList %s
|
|
// REQUIRES: asserts
|
|
|
|
// Test that mandatory inlining is linear on a long series of integer
|
|
// initialization calls.
|
|
|
|
let _: [Int] = [
|
|
%for i in range(0, N):
|
|
1,
|
|
%end
|
|
1
|
|
]
|