summaryrefslogtreecommitdiffstats
path: root/lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2021-01-11 15:31:56 +0000
committerpatrick <patrick@openbsd.org>2021-01-11 15:31:56 +0000
commit16ff81ed8b1ed9aa06fb1a731a2446b66cc49bef (patch)
tree1a7dd8152b94f6f8cd318bfaf85aa40882854583 /lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp
parentsync (diff)
downloadwireguard-openbsd-16ff81ed8b1ed9aa06fb1a731a2446b66cc49bef.tar.xz
wireguard-openbsd-16ff81ed8b1ed9aa06fb1a731a2446b66cc49bef.zip
Remove libc++ and libc++abi 8.0.0 now that we switched to version 10.0.1
in the gnu/ directory.
Diffstat (limited to 'lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp')
-rw-r--r--lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp b/lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp
deleted file mode 100644
index b5b91cdab7c..00000000000
--- a/lib/libcxx/utils/google-benchmark/cmake/gnu_posix_regex.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <gnuregex.h>
-#include <string>
-int main() {
- std::string str = "test0159";
- regex_t re;
- int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB);
- if (ec != 0) {
- return ec;
- }
- return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
-}
-