mirror of
https://github.com/apple/swift.git
synced 2026-06-20 15:42:51 +02:00
5d36507a2f
Inserts the synthesized implementation. As part of this, fix some ASTPrinter bugs. rdar://87904700
7 lines
263 B
Swift
7 lines
263 B
Swift
// RUN: rm -rf %t.result && mkdir -p %t.result
|
|
|
|
struct User: Codable {
|
|
}
|
|
// RUN: %refactor -add-explicit-codable-implementation -source-filename %s -pos=3:8 > %t.result/codable.swift
|
|
// RUN: diff -u %S/Outputs/empty/codable.swift.expected %t.result/codable.swift
|