Skip to content

Commit f59c647

Browse files
committed
[SILOptimizer] NFC: Run type wrapper test-case only in asserts mode
`TypeWrappers` feature is experimental and the flag is not supported in production compilers. Resolves: rdar://100737643
1 parent 1ccc36c commit f59c647

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILOptimizer/type_wrapper_init_transform.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend -enable-experimental-feature TypeWrappers -module-name test -disable-availability-checking -Xllvm -sil-print-after=definite-init -emit-sil %s -o /dev/null 2>&1 | %FileCheck %s
22

3+
// REQUIRES: asserts
4+
35
@typeWrapper
46
public struct Wrapper<S> {
57
var underlying: S

0 commit comments

Comments
 (0)