diff options
Diffstat (limited to 'libcxx/test/std/re/re.syn/wsregex_token_iterator.pass.cpp')
-rw-r--r-- | libcxx/test/std/re/re.syn/wsregex_token_iterator.pass.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libcxx/test/std/re/re.syn/wsregex_token_iterator.pass.cpp b/libcxx/test/std/re/re.syn/wsregex_token_iterator.pass.cpp new file mode 100644 index 00000000000..dc71991eb9b --- /dev/null +++ b/libcxx/test/std/re/re.syn/wsregex_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<wstring::const_iterator> wsregex_token_iterator; + +#include <regex> +#include <type_traits> + +int main() +{ + static_assert((std::is_same<std::regex_token_iterator<std::wstring::const_iterator>, std::wsregex_token_iterator>::value), ""); +} |