mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix pointer casting problem.
llvm-svn: 68668
This commit is contained in:
parent
6479d0cbb7
commit
c7edd80c95
@ -73,7 +73,8 @@ TEST(MDNodeTest, Everything) {
|
||||
V.push_back(s2);
|
||||
|
||||
MDNode *n1 = MDNode::get(&V[0], 3);
|
||||
MDNode *n2 = MDNode::get((Constant**)&n1, 1);
|
||||
Constant *const c1 = n1;
|
||||
MDNode *n2 = MDNode::get(&c1, 1);
|
||||
MDNode *n3 = MDNode::get(&V[0], 3);
|
||||
EXPECT_NE(n1, n2);
|
||||
EXPECT_EQ(n1, n3);
|
||||
|
Loading…
Reference in New Issue
Block a user