blob: bee9f9f0d6338c05aa6c81769b9908349d09310d [file] [log] [blame]
Howard Hinnant3d87b692010-08-12 21:14:20 +00001//===----------------------------------------------------------------------===//
2//
Chandler Carruth57b08b02019-01-19 10:56:40 +00003// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
Howard Hinnant3d87b692010-08-12 21:14:20 +00006//
7//===----------------------------------------------------------------------===//
8
9// <regex>
10
11// typedef match_results<string::const_iterator> smatch;
12
13#include <regex>
14#include <type_traits>
Marshall Clowfd5ceb22016-04-26 16:24:44 +000015#include "test_macros.h"
Howard Hinnant3d87b692010-08-12 21:14:20 +000016
17int main()
18{
19 static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
20}