Skip to content

Commit 66d5e67

Browse files
committed
[Test] Add test for omitted projected value label.
1 parent 2667d3d commit 66d5e67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/Sema/property_wrapper_parameter.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ func testClosures() {
8888
}
8989
}
9090

91+
func projectionPlaceholder<T>(@Wrapper _ value: T) {}
92+
93+
func testOmittedProjectionLabel(value: Int) {
94+
projectionPlaceholder($_: Projection(value: value))
95+
}
96+
9197
@propertyWrapper
9298
struct ProjectionWrapper<Value> {
9399
var wrappedValue: Value

0 commit comments

Comments
 (0)