[libc++abi] Add a test to ensure the abi namespace alias is declared correctly (#167485)

This commit is contained in:
Nikolas Klauser
2025-11-12 10:12:13 +01:00
committed by GitHub
parent 10e97641f5
commit a8e058a590

View File

@@ -0,0 +1,15 @@
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#include <cxxabi.h>
// Make sure the `abi` namespace already exists
namespace abi_should_exist = abi;
// Make sure `abi` is an alias for `__cxxabiv1`
namespace abi = __cxxabiv1;