mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
16 lines
428 B
Swift
16 lines
428 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %gyb %s -o %t/large_int_array.swift
|
|
// RUN: %target-swift-frontend -typecheck -verify %t/large_int_array.swift
|
|
|
|
// verification is disabled because the ownership verifier takes too long: rdar://162566682
|
|
// RUN: %target-swift-frontend -sil-verify-none %t/large_int_array.swift -emit-sil -o %t
|
|
|
|
% num_elements = 65537
|
|
|
|
let v = 0
|
|
let _ : [Int] = [
|
|
% for i in range(num_elements):
|
|
v,
|
|
% end
|
|
]
|