// 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"
