wsmatch.pass.cpp 659 B

12345678910111213141516171819202122
  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. //===----------------------------------------------------------------------===//
  8. // <regex>
  9. // typedef match_results<wstring::const_iterator> wsmatch;
  10. #include <regex>
  11. #include <type_traits>
  12. #include "test_macros.h"
  13. int main(int, char**)
  14. {
  15. static_assert((std::is_same<std::match_results<std::wstring::const_iterator>, std::wsmatch>::value), "");
  16. return 0;
  17. }