Files
swift-mirror/test/Interop/Cxx/namespace/using-from-namespace.swift
Gábor Horváth 2327cec99f [6.2][cxx-interop] Fix crash in ASTMangler triggered by UsingShadowDecls
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
2025-06-11 11:37:27 +01:00

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) {}