summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/re/re.syn/cregex_iterator.pass.cpp
blob: 15c7ea8cfa4252dc711edb54bf8647438e96346f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//===----------------------------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

// <regex>

// typedef regex_iterator<const char*>   cregex_iterator;

#include <regex>
#include <type_traits>
#include "test_macros.h"

int main()
{
    static_assert((std::is_same<std::regex_iterator<const char*>, std::cregex_iterator>::value), "");
}
OpenPOWER on IntegriCloud