blob: 32fcb82f1a9c6992d8767bdf5befd3ceb7d9301c [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 basic_regex<char> regex;
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::basic_regex<char>, std::regex>::value), "");
21}