Files
swift-mirror/validation-test/SILOptimizer/large_nested_array.swift
Erik Eckstein 885f267362 tests: increase timeout of large_nested_array test
It fails on some jobs intermittently

rdar://115165160
2023-09-11 12:08:47 +02:00

517 lines
7.0 KiB
Swift

// The compiler should finish in about 5 seconds. To give some slack,
// specify a timeout of 60 seconds
// If the compiler needs more than 60 seconds, there is probably a real problem.
// So please don't just increase the timeout in case this test fails.
// RUN: %{python} %S/../../test/Inputs/timeout.py 60 %target-swift-frontend -O -parse-as-library -sil-verify-none -emit-sil %s | %FileCheck %s
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
// REQUIRES: CPU=arm64 || CPU=x86_64 || CPU=aarch64
// CHECK: sil @$s18large_nested_array22getTwoDimensionalArraySaySaySiGGyF
public func getTwoDimensionalArray() -> [[Int]] {
return [
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2],
[0,1,2]
]
}