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