Skip to content

Commit f7c5688

Browse files
committed
tests: add missing stdlib requirements in SILOptimizer/static_init_globals.swift
1 parent e3d8e35 commit f7c5688

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILOptimizer/static_init_globals.swift

Lines changed: 2 additions & 0 deletions
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)