Skip to content

Commit 7534054

Browse files
committed
[Test Only] Restrict '@const' test to optimized-stdlib builds
1 parent ce9d5f5 commit 7534054

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ConstValues/IntegerExpressions.swift

Lines changed: 1 addition & 0 deletions
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)