forked from OSchip/llvm-project
IR/MetadataTest.cpp: Appease msc17 to avoid initializer list.
llvm-svn: 225775
This commit is contained in:
parent
b3c6d52d3a
commit
2f8f0547b1
|
@ -370,7 +370,7 @@ TEST_F(MDNodeTest, replaceResolvedOperand) {
|
|||
std::unique_ptr<MDNodeFwdDecl> Temp(MDNodeFwdDecl::get(Context, None));
|
||||
Metadata *Ops[] = {nullptr, Temp.get()};
|
||||
|
||||
MDNode *Empty = MDTuple::get(Context, {});
|
||||
MDNode *Empty = MDTuple::get(Context, ArrayRef<Metadata *>());
|
||||
MDNode *N = MDTuple::get(Context, Ops);
|
||||
EXPECT_EQ(nullptr, N->getOperand(0));
|
||||
ASSERT_FALSE(N->isResolved());
|
||||
|
|
Loading…
Reference in New Issue