mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
tests: fix a wrong check line in SILOptimizer/large_string_array.swift.gyb
Triggered by https://github.com/swiftlang/swift/pull/77806 rdar://140778726
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
// Check if the optimizer can optimize the whole array into a statically
|
||||
// initialized global
|
||||
|
||||
// CHECK: sil_global private @{{.*9str_array.*}}WZTv_ : $_ContiguousArrayStorage<String> = {
|
||||
// CHECK: sil_global private [let] @{{.*9str_array.*}}WZTv_ : $_ContiguousArrayStorage<String> = {
|
||||
// CHECK: %initval = object $_ContiguousArrayStorage<String>
|
||||
|
||||
public let str_array: [String] = [
|
||||
|
||||
Reference in New Issue
Block a user