Skip to content

Commit ccda595

Browse files
committed
add missing asserts guard to test using experimental feature
1 parent b709fa2 commit ccda595

File tree

1 file changed

+2
-0
lines changed

1 file changed

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

3+
// REQUIRES: asserts
4+
35
struct S: ~Escapable {} // expected-error {{type '~Escapable' requires -enable-experimental-feature NonEscapableTypes}}

0 commit comments

Comments
 (0)