[libc++] Support no libc++ namespace in the iterator test.
authorVladimir Vereschaka <vvereschaka@accesssoftek.com>
Fri, 27 Nov 2020 23:01:09 +0000 (15:01 -0800)
committerVladimir Vereschaka <vvereschaka@accesssoftek.com>
Fri, 27 Nov 2020 23:01:09 +0000 (15:01 -0800)
commit24b3c57adecd0867a2194dfe79643e1f0c962590
tree60477354f60755f79e7768f43d869ffda60bf726
parent03ee46127621934c030d37f50aaefdef6bf9d4b0
[libc++] Support no libc++ namespace in the iterator test.

The 5f12f4ff9078455cad9d4806da01f570553a5bf9 commit suppress printing of
inline namespace names in diagnostics by default that breaks the libc++
iterator test, which expects __1 in the namespace.

This patch fixes the test by supporting a test case without __1 in the
namespace.

Differential Revision: https://reviews.llvm.org/D92142
libcxx/test/std/iterators/iterator.primitives/iterator.traits/empty.fail.cpp