Skip to content

Commit cfe49a0

Browse files
authored
Merge pull request #62643 from xedin/rdar-103452169
[Tests] NFC: Add assertions requirement to a type wrapper test
2 parents d64a24c + 4e6e6bd commit cfe49a0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/ModuleInterface/type_wrappers.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
// RUN: %target-swift-typecheck-module-from-interface(%t/TypeWrappers.swiftinterface) -module-name TypeWrappers
44
// RUN: %FileCheck %s < %t/TypeWrappers.swiftinterface
55

6+
// REQUIRES: asserts
7+
68
// CHECK: @typeWrapper public struct Wrapper<W, S> {
79
// CHECK-NEXT: public init(for: W.Type, storage: S)
810
// CHECK-NEXT: public subscript<V>(propertyKeyPath _: Swift.KeyPath<W, V>, storageKeyPath path: Swift.KeyPath<S, V>) -> V {

0 commit comments

Comments
 (0)