mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update SolidityEndToEndTest.cpp
This commit is contained in:
parent
a92591e519
commit
19262c12cf
@ -4049,7 +4049,7 @@ BOOST_AUTO_TEST_CASE(struct_assign_reference_to_struct)
|
|||||||
x.m_value = 3;
|
x.m_value = 3;
|
||||||
data3 = x; //should copy the data. data3.m_value == 3
|
data3 = x; //should copy the data. data3.m_value == 3
|
||||||
ret_global3 = data3.m_value; // = 3
|
ret_global3 = data3.m_value; // = 3
|
||||||
ret_global1 = data1.m_value; // = 3
|
ret_global1 = data1.m_value; // = 3. Changed due to the assignment to x.m_value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)";
|
)";
|
||||||
|
Loading…
Reference in New Issue
Block a user