Skip to content

Commit 1f25173

Browse files
authored
Merge pull request #81164 from eeckstein/fix-test-6.2
[6.2] tests: add missing stdlib requirements in `SILOptimizer/static_init_globals.swift`
2 parents 75181f9 + f7c5688 commit 1f25173

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILOptimizer/static_init_globals.swift

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend %s -module-name=test -emit-sil | %FileCheck %s
22

3+
// REQUIRES: swift_stdlib_no_asserts,optimized_stdlib
4+
35
public struct MyStruct {
46
// CHECK-LABEL: sil_global [let] @$s4test8MyStructV1rSnySiGvpZ : $Range<Int> = {
57
// CHECK-NEXT: %0 = integer_literal $Builtin.Int{{[0-9]+}}, 1

0 commit comments

Comments
 (0)