mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
15 lines
420 B
Plaintext
15 lines
420 B
Plaintext
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -F %S/mock-sdk -emit-migrated-file-path %t/result.swift -swift-version 4
|
|
// RUN: diff -u %s.expected %t/result.swift
|
|
|
|
import TestMyTime
|
|
|
|
let zero = MyTime.z
|
|
|
|
let _ = MyTime.add(this: MyTime.z, that: MyTime.z)
|
|
let _ = MyTime.add(
|
|
this: MyTime.z, that: MyTime.z)
|
|
let _ = MyTime.add(
|
|
this: MyTime.z,
|
|
that: MyTime.z)
|