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
14 lines
182 B
C++
14 lines
182 B
C++
#pragma once
|
|
|
|
namespace Test {
|
|
class Foo {};
|
|
namespace Test2 {
|
|
class Bar {};
|
|
} // namespace Test2
|
|
|
|
using Test2::Bar;
|
|
} // namespace Test
|
|
|
|
using Test::Bar;
|
|
using Test::Foo;
|