mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
6 lines
360 B
Swift
6 lines
360 B
Swift
// REQUIRES: OS=macosx
|
|
// RUN: %empty-directory(%t) && %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummy.result -swift-version 4 %api_diff_data_dir
|
|
// RUN: %target-swift-frontend -typecheck -update-code -primary-file %s -emit-migrated-file-path %t/dummy.result -swift-version 5 %api_diff_data_dir
|
|
|
|
func foo() {}
|