diff options
Diffstat (limited to 'libcxx/test/std/re/re.syn/wcregex_token_iterator.pass.cpp')
-rw-r--r-- | libcxx/test/std/re/re.syn/wcregex_token_iterator.pass.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libcxx/test/std/re/re.syn/wcregex_token_iterator.pass.cpp b/libcxx/test/std/re/re.syn/wcregex_token_iterator.pass.cpp new file mode 100644 index 00000000000..f16911f2985 --- /dev/null +++ b/libcxx/test/std/re/re.syn/wcregex_token_iterator.pass.cpp @@ -0,0 +1,20 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <regex> + +// typedef regex_token_iterator<const wchar_t*> wcregex_token_iterator; + +#include <regex> +#include <type_traits> + +int main() +{ + static_assert((std::is_same<std::regex_token_iterator<const wchar_t*>, std::wcregex_token_iterator>::value), ""); +} |