mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
It's already guarded by a feature flag, but it would be nice to signal users that it's not stable yet by adding an underscore prefix.
6 lines
381 B
Swift
6 lines
381 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-feature Extern -emit-fixits-path %t.remap -fixit-all -diagnostics-editor-mode
|
|
// RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %s.result
|
|
|
|
@_extern(c) // expected-warning {{C name '+' may be invalid; explicitly specify the name in @_extern(c) to suppress this warning}}
|
|
func +(a: Int, b: Bool) -> Bool
|