Skip to content

Commit e6ef0c8

Browse files
committed
Add REQUIRES: assert in one the VariadicGenerics tests.
It was failing when the compiler is not built with asserts
1 parent 9adbe3f commit e6ef0c8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/SILGen/parameterized_existentials_variadic.swift

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

3+
// Because of -enable-experimental-feature VariadicGenerics
4+
// REQUIRES: asserts
5+
36
protocol P<A> {
47
associatedtype A
58
}

0 commit comments

Comments
 (0)