Skip to content

Commit 918ae4a

Browse files
authored
Merge pull request #81033 from artemcm/62OptimizedStdLibTestRestrict
[6.2 🍒][Test Only] Restrict '@const' test to optimized-stdlib builds
2 parents ea4906d + 7534054 commit 918ae4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ConstValues/IntegerExpressions.swift

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// Constant globals on integer expressions
22
// REQUIRES: swift_feature_CompileTimeValues
3+
// REQUIRES: optimized_stdlib
34
// RUN: %target-swift-frontend -emit-ir -primary-file %s -parse-as-library -enable-experimental-feature CompileTimeValues -verify
45

56
@const let constGlobal1: Int = (42 + 42 + 42) / 3

0 commit comments

Comments
 (0)