forked from OSchip/llvm-project
Try to fix ambiguities with C++17 headers in unittest
llvm-svn: 345689
This commit is contained in:
parent
cb3628bcc0
commit
854b1af5a1
|
@ -365,6 +365,9 @@ TEST(STLExtrasTest, ADLTest) {
|
|||
}
|
||||
|
||||
TEST(STLExtrasTest, EmptyTest) {
|
||||
// Try to avoid ambiguities with C++17 headers.
|
||||
using llvm::empty;
|
||||
|
||||
std::vector<void*> V;
|
||||
EXPECT_TRUE(empty(V));
|
||||
V.push_back(nullptr);
|
||||
|
|
Loading…
Reference in New Issue