Skip to content

Commit 929edd3

Browse files
committed
[Test] Add already-fixed test from SR-11599 / rdar://problem/56190608
1 parent f5665df commit 929edd3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// RUN: %target-swift-frontend -typecheck %s -verify
2+
3+
@propertyWrapper
4+
struct A {
5+
var wrappedValue: Int
6+
}
7+
8+
@propertyWrapper
9+
struct B {
10+
var wrappedValue: Int
11+
}
12+
13+
struct C {
14+
@A @B var foo: Int // expected-error{{extraneous argument label 'wrappedValue:' in call}}
15+
}

0 commit comments

Comments
 (0)