[libcxx-commits] [libcxx] [libc++] Add test to ensure that the mangling of types stays the same (PR #143556)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 27 10:28:33 PDT 2025


================
@@ -0,0 +1,74 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// We're using `string::starts_with` in this test
+// UNSUPPORTED: c++03, c++11, c++14, c++17
----------------
EricWF wrote:

It seems more important that we test the manglings are consistent across dialects,  rather than use `starts_with`.

https://github.com/llvm/llvm-project/pull/143556


More information about the libcxx-commits mailing list