Files
swift-mirror/validation-test/compiler_scale/array_init.swift.gyb
Jordan Rose 1eaa767407 [test] Run scale-tests on Linux too (#27223)
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.
2019-09-18 08:27:37 -07:00

13 lines
269 B
Plaintext

// 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
]