Commit 8eb07d5f authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r257696:

------------------------------------------------------------------------
r257696 | marshall | 2016-01-13 14:52:36 -0800 (Wed, 13 Jan 2016) | 1 line

Fix test for C++03 - lacking noexcept
------------------------------------------------------------------------

llvm-svn: 257720
parent dab2ebfd
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -49,7 +49,11 @@ int main()
    static_assert((!std::__libcpp_string_gets_noexcept_iterator<random_access_iterator<char *> >::value), "");
    static_assert((!std::__libcpp_string_gets_noexcept_iterator<ThrowingIterator      <char *> >::value), "");
    
#if __has_feature(cxx_noexcept)
    static_assert(( std::__libcpp_string_gets_noexcept_iterator<NonThrowingIterator   <char *> >::value), "");
#else
    static_assert((!std::__libcpp_string_gets_noexcept_iterator<NonThrowingIterator   <char *> >::value), "");
#endif
	
//
//  iterators from libc++'s containers