mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
179 B
Swift
12 lines
179 B
Swift
// RUN: %target-typecheck-verify-swift
|
|
|
|
struct A<T> {
|
|
let foo: [T]
|
|
}
|
|
|
|
extension A : Codable where T: Codable {
|
|
enum CodingKeys: String, CodingKey {
|
|
case foo = "foo"
|
|
}
|
|
}
|