blob: 7b85a69a2ff828d6468e22d75b99d33890a5b3a9 [file] [log] [blame]
Howard Hinnant87846502010-08-12 21:14:20 +00001//===----------------------------------------------------------------------===//
2//
Chandler Carruth7c3769d2019-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 Hinnant87846502010-08-12 21:14:20 +00006//
7//===----------------------------------------------------------------------===//
8
9// <regex>
10
11// typedef match_results<const char*> cmatch;
12
13#include <regex>
14#include <type_traits>
Marshall Clow6dfff1c2016-04-26 16:24:44 +000015#include "test_macros.h"
Howard Hinnant87846502010-08-12 21:14:20 +000016
JF Bastiene15dd4e2019-02-04 20:31:13 +000017int main(int, char**)
Howard Hinnant87846502010-08-12 21:14:20 +000018{
19 static_assert((std::is_same<std::match_results<const char*>, std::cmatch>::value), "");
JF Bastiene15dd4e2019-02-04 20:31:13 +000020
21 return 0;
Howard Hinnant87846502010-08-12 21:14:20 +000022}