From b7332b04df5d50c92640c74cfeb138ecb7e3f7ae Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 18:01:01 +0000 Subject: Remove upstream files and directories from vendor/libc++/dist that we do not use. This saves on repository space, and reduces the number of tree conflicts when merging. --- .../re/re.regex/re.regex.construct/ptr.pass.cpp | 35 ---------------------- 1 file changed, 35 deletions(-) delete mode 100644 test/std/re/re.regex/re.regex.construct/ptr.pass.cpp (limited to 'test/std/re/re.regex/re.regex.construct/ptr.pass.cpp') diff --git a/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp b/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp deleted file mode 100644 index 05fba020566bc..0000000000000 --- a/test/std/re/re.regex/re.regex.construct/ptr.pass.cpp +++ /dev/null @@ -1,35 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// - -// template > class basic_regex; - -// basic_regex(const charT* p); - -#include -#include -#include "test_macros.h" - -template -void -test(const CharT* p, unsigned mc) -{ - std::basic_regex r(p); - assert(r.flags() == std::regex_constants::ECMAScript); - assert(r.mark_count() == mc); -} - -int main() -{ - test("\\(a\\)", 0); - test("\\(a[bc]\\)", 0); - test("\\(a\\([bc]\\)\\)", 0); - test("(a([bc]))", 2); -} -- cgit v1.2.3