Skip to content

Commit 2b2beb6

Browse files
authored
[NCGenerics] Mark test as REQUIRES: asserts (#70492)
Any test that uses `--enable-experimental-feature` will only work in non-production compilers, so it needs `REQUIRES: asserts` to avoid failures when the compiler is build in non-asserts mode.
1 parent 680c737 commit 2b2beb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILGen/typelowering_inverses.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %target-swift-frontend -emit-silgen -enable-experimental-feature NoncopyableGenerics -disable-availability-checking -module-name main %s | %FileCheck %s
22

3+
// REQUIRES: asserts
4+
35
struct NC: ~Copyable {}
46

57
struct RudeStruct<T: ~Copyable>: Copyable {

0 commit comments

Comments
 (0)