Files
swift-mirror/test/Sema/large_int_array.swift.gyb
Anton Korobeynikov 41e6cbec3d [NFC] Make the StoredIntegerElement<N> storage properties explicit:
specify the accepted field sizes in ctor.

This is a follow-up refactoring after discussion in #61726
2022-10-26 23:27:02 -07:00

14 lines
318 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
// RUN: %target-swift-frontend %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
]