Howard Hinnant | 3d87b69 | 2010-08-12 21:14:20 +0000 | [diff] [blame] | 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
Chandler Carruth | 57b08b0 | 2019-01-19 10:56:40 +0000 | [diff] [blame^] | 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 |
Howard Hinnant | 3d87b69 | 2010-08-12 21:14:20 +0000 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | // <regex> |
| 10 | |
| 11 | // typedef match_results<string::const_iterator> smatch; |
| 12 | |
| 13 | #include <regex> |
| 14 | #include <type_traits> |
Marshall Clow | fd5ceb2 | 2016-04-26 16:24:44 +0000 | [diff] [blame] | 15 | #include "test_macros.h" |
Howard Hinnant | 3d87b69 | 2010-08-12 21:14:20 +0000 | [diff] [blame] | 16 | |
| 17 | int main() |
| 18 | { |
| 19 | static_assert((std::is_same<std::match_results<std::string::const_iterator>, std::smatch>::value), ""); |
| 20 | } |