diff --git a/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp b/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp index b386126c23da..0748b168e6d0 100644 --- a/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp +++ b/libcxx/test/iterators/predef.iterators/reverse.iterators/reverse.iterator/types.pass.cpp @@ -18,11 +18,11 @@ // protected: // Iter current; // public: -// typedef Iter iterator_type; -// typedef Iter::value_type value_type; -// typedef Iter::difference_type difference_type; -// typedef Iter::reference reference; -// typedef Iter::pointer pointer; +// iterator::iterator_category, +// typename iterator_traits::value_type, +// typename iterator_traits::difference_type, +// typename iterator_traits::pointer, +// typename iterator_traits::reference> { // }; #include @@ -49,7 +49,7 @@ test() static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); static_assert((std::is_same::value), ""); - static_assert((std::is_same::value), ""); + static_assert((std::is_same::pointer>::value), ""); static_assert((std::is_same::value), ""); }