Skip to content

Commit e0205f7

Browse files
committed
[Sema] Add test case for SR-15497
SR-15497 is no longer happening in the stress tester. Add its test case to the test suite. rdar://85602946
1 parent 0a79ab7 commit e0205f7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// RUN: not %target-swift-frontend -typecheck %s
2+
3+
public struct {
4+
@UserDefault()
5+
public static var region: String
6+
}
7+
8+
@propertyWrapper
9+
public struct UserDefault {
10+
init() {}
11+
public var wrappedValue: String
12+
}

0 commit comments

Comments
 (0)