Files
swift-mirror/test/NameLookup/named_lazy_member_loading_anyobject.swift
Hamish Knight 5b99c2020f NFC: Re-organize NameBinding tests
The directory currently seems to have a mix of
tests for import resolution and name lookup.
Therefore split it into two directories;
ImportResolution and NameLookup.
2020-03-29 18:51:09 -07:00

16 lines
346 B
Swift

// REQUIRES: objc_interop
// REQUIRES: OS=macosx
//
// RUN: %target-swift-frontend -typecheck -I %S/Inputs/NamedLazyMembers %s -verify
import NamedLazyMembers
func callViaAnyObject(ao: AnyObject, d: Double) {
ao.doSomething(d, celsius: d)
}
func callDirect(snt: SimilarlyNamedThings, d: Double) {
snt.doSomething(d, fahrenheit: d) {
}
}