Files
swift-mirror/validation-test/Serialization/rdar80449046.swift
2021-07-18 20:11:51 -07:00

14 lines
296 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module %s
@propertyWrapper
public struct TestWrapper {
public var wrappedValue: Int
public init(wrappedValue: Int) { self.wrappedValue = wrappedValue }
}
@frozen public struct Test {
@TestWrapper public var x: Int = 42
}