mirror of
https://github.com/apple/swift-certificates
synced 2026-11-26 04:47:48 +00:00
28 lines
758 B
Swift
28 lines
758 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftCertificates open source project
|
|
//
|
|
// Copyright (c) 2023 Apple Inc. and the SwiftCertificates project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftCertificates project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
import _CertificateInternals
|
|
|
|
public func tinyArrayAppend() {
|
|
var count = 0
|
|
|
|
var tinyArray = _TinyArray<Int>()
|
|
for i in 0..<1000 {
|
|
tinyArray.append(i)
|
|
}
|
|
count += tinyArray.count
|
|
|
|
blackHole(count)
|
|
}
|