[flang] Fix length handling in character kind implicit conversion (#74586)
[llvm-project.git] / libcxx / test / std / re / re.syn / cmatch.pass.cpp
blob7b85a69a2ff828d6468e22d75b99d33890a5b3a9
1 //===----------------------------------------------------------------------===//
2 //
3 // 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
6 //
7 //===----------------------------------------------------------------------===//
9 // <regex>
11 // typedef match_results<const char*> cmatch;
13 #include <regex>
14 #include <type_traits>
15 #include "test_macros.h"
17 int main(int, char**)
19 static_assert((std::is_same<std::match_results<const char*>, std::cmatch>::value), "");
21 return 0;