mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These are tests that fail in the next commit without this flag. This does not add -verify-ignore-unrelated to all tests with -verify, only the ones that would fail without it. This is NFC since this flag is currently a no-op.
23 lines
595 B
Swift
23 lines
595 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-typecheck-verify-swift -verify-ignore-unrelated -I %S/Inputs/custom-modules -enable-experimental-feature ImportMacroAliases
|
|
|
|
// REQUIRES: swift_feature_ImportMacroAliases
|
|
|
|
import Aliases
|
|
|
|
func f() {
|
|
InvalidCall() // expected-error{{cannot find 'InvalidCall' in scope}}
|
|
}
|
|
|
|
func g() {
|
|
V = 32 // expected-error{{cannot assign to value: 'V' is a get-only property}}
|
|
}
|
|
|
|
func h() {
|
|
let _ = overload // expected-error{{ambiguous use of 'overload'}}
|
|
}
|
|
|
|
func i() {
|
|
aliased_variadic(0, 0) // expected-error{{cannot find 'aliased_variadic' in scope}}
|
|
}
|