//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class match_results // match_results(const Allocator& a = Allocator()); #include #include 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(); }