mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
333 B
Swift
14 lines
333 B
Swift
// RUN: %target-swift-emit-ir %s -I %S/Inputs -enable-experimental-cxx-interop | %FileCheck %s
|
|
|
|
import Extensions
|
|
|
|
extension Outer.Space.Foo {
|
|
func foo() {}
|
|
}
|
|
|
|
Outer.Space.Foo().foo()
|
|
|
|
// CHECK: call swiftcc void @"$sSo5OuterO5SpaceO3FooV4mainE3fooyyF"
|
|
|
|
// CHECK: define hidden swiftcc void @"$sSo5OuterO5SpaceO3FooV4mainE3fooyyF"
|