blob: b378339664c00e1ba405940ee23e00b45d4067ac [file] [log] [blame]
Howard Hinnant87846502010-08-12 21:14:20 +00001//===----------------------------------------------------------------------===//
2//
3// The LLVM Compiler Infrastructure
4//
Howard Hinnantb64f8b02010-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 Hinnant87846502010-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>
Howard Hinnant87846502010-08-12 21:14:20 +000016
17int main()
18{
19 static_assert((std::is_same<std::sub_match<std::string::const_iterator>, std::ssub_match>::value), "");
20}