//===----------------------------------------------------------------------===// // // 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 // //===----------------------------------------------------------------------===// // // class match_results // match_results(const Allocator& a = Allocator()); #include #include #include "test_macros.h" template void test() { std::match_results m; assert(m.size() == 0); assert(!m.ready()); assert(m.get_allocator() == std::allocator >()); } int main(int, char**) { test(); test(); return 0; }