mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
With `ARCMigrate` and `arcmt-test` removed from clang in https://github.com/llvm/llvm-project/pull/119269 and the new code migration experience under way (see https://github.com/swiftlang/swift-evolution/pull/2673), these options are no longer relevant nor known to be in use. They were introduced long ago to support fix-it application in Xcode. For now, turn them into a no-op and emit a obsoletion warning.
7 lines
299 B
Swift
7 lines
299 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-feature Extern
|
|
|
|
// REQUIRES: swift_feature_Extern
|
|
|
|
@_extern(c) // expected-warning {{C name '+' may be invalid; explicitly specify the name in '@_extern(c)' to suppress this warning}}{{11-11=, "+"}}{{none}}
|
|
func +(a: Int, b: Bool) -> Bool
|