Skip to content

Commit fc0eca5

Browse files
author
David Ungar
committed
add a regression test
1 parent e060363 commit fc0eca5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-swift-frontend -emit-module %s
3+
4+
@propertyWrapper
5+
public struct TestWrapper {
6+
public var wrappedValue: Int
7+
public init(wrappedValue: Int) { self.wrappedValue = wrappedValue }
8+
}
9+
10+
@frozen public struct Test {
11+
@TestWrapper public var x: Int = 42
12+
}
13+

0 commit comments

Comments
 (0)