blob: e2fc061133af840eb2e944d3f058887f7e71ab0f [file] [log] [blame]
Howard Hinnant3d87b692010-08-12 21:14:20 +00001//===----------------------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Howard Hinnant412dbeb2010-11-16 22:09:02 +00005// This file is dual licensed under the MIT and the University of Illinois Open
6// Source Licenses. See LICENSE.TXT for details.
Howard Hinnant3d87b692010-08-12 21:14:20 +00007//
8//===----------------------------------------------------------------------===//
9
10// <regex>
11
12// typedef match_results<string::const_iterator> smatch;
13
14#include <regex>
15#include <type_traits>
Marshall Clowfd5ceb22016-04-26 16:24:44 +000016#include "test_macros.h"
Howard Hinnant3d87b692010-08-12 21:14:20 +000017
18int main()
19{
20 static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), "");
21}