blob: 181b7a307b58719bafd9b979b0ca1449aed83c9d [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 sub_match<string::const_iterator> ssub_match;
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::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
21}