//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // 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.str() == std::basic_string()); assert(m.get_allocator() == std::allocator >()); } int main() { test(); test(); }