[libc-commits] [libc] [libc] Add POSIX regex stub implementation and build infrastructure (PR #196995)
Jeff Bailey via libc-commits
libc-commits at lists.llvm.org
Tue May 12 05:11:33 PDT 2026
================
@@ -0,0 +1,48 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+///
+/// \file
+/// Unit tests for regerror.
+///
+//===----------------------------------------------------------------------===//
+
+#include "src/regex/regerror.h"
+#include "test/UnitTest/Test.h"
+
+#include "include/llvm-libc-macros/regex-macros.h"
+
+TEST(LlvmLibcRegexTest, RegerrorAllCodes) {
----------------
kaladron wrote:
Whups, sorry. It was originally all of them, and I took them out to keep the tests from being so fragile.
https://github.com/llvm/llvm-project/pull/196995
More information about the libc-commits
mailing list