Skip to content

Commit f2d2a28

Browse files
authored
[test] Add REQUIRES: assert to moveonly_addressors using experimental feature (#70517)
moveonly_addressors.swift (added in #70475) uses the experimental feature `NonescapableTypes`, which requires an asserts compiler to work, so requires marking the test as `REQUIRES: asserts`.
1 parent 6536f57 commit f2d2a28

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/SILOptimizer/moveonly_addressors.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %target-swift-frontend -enable-experimental-feature NonescapableTypes -enable-experimental-feature BuiltinModule -enable-experimental-feature NoncopyableGenerics -parse-stdlib -module-name Swift -DTRIVIAL -emit-sil -verify %s
44
// RUN: %target-swift-frontend -enable-experimental-feature NonescapableTypes -enable-experimental-feature BuiltinModule -enable-experimental-feature NoncopyableGenerics -parse-stdlib -module-name Swift -DEMPTY -emit-sil -verify %s
55

6+
// REQUIRES: asserts
7+
68
// TODO: Use the real stdlib types once `UnsafePointer` supports noncopyable
79
// types.
810

0 commit comments

Comments
 (0)