mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Explanation: We did not handle this declaration kind. This PR makes sure we mangle it the same way we do for the target declaration. Issue: rdar://152841420 Risk: Low, the fix is small, localized, and straightforward. Testing: Regression test added. Original PR: #82144 Reviewer: @egorzhdan @hnrklssn @j-hui
7 lines
160 B
Swift
7 lines
160 B
Swift
// RUN: %target-swift-emit-irgen -I %S/Inputs/ -cxx-interoperability-mode=default -g %s
|
|
|
|
import UsingFromNamespace
|
|
|
|
func f(_ foo: Foo) {}
|
|
func g(_ bar: Bar) {}
|