Skip to content

Commit 609edfb

Browse files
authored
[Tests] NFC: Limit type wrapper tests to assert builds only (#60846)
Production compilers do not support experimental features.
1 parent ca08b56 commit 609edfb

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/Interpreter/type_wrappers.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// RUN: %target-run %t/main %t/%target-library-name(type_wrapper_defs) | %FileCheck %s
66

77
// REQUIRES: executable_test
8+
// REQUIRES: asserts
89

910
import type_wrapper_defs
1011

test/type/type_wrapper.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-typecheck-verify-swift -enable-experimental-feature TypeWrappers
22

3+
// REQUIRES: asserts
4+
35
@typeWrapper
46
struct ConcreteTypeWrapper { // expected-error {{type wrapper has to declare a single generic parameter for underlying storage type}}
57
init(memberwise: Int) {}

0 commit comments

Comments
 (0)