mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Sort tests.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
contract c {
|
||||
function set() public returns (bool) {
|
||||
data = msg.data;
|
||||
return true;
|
||||
}
|
||||
|
||||
function getLength() public returns (uint256) {
|
||||
return data.length;
|
||||
}
|
||||
|
||||
bytes data;
|
||||
}
|
||||
|
||||
// ----
|
||||
// getLength() -> 0
|
||||
// set(): 1, 2 -> true
|
||||
// getLength() -> 68
|
||||
Reference in New Issue
Block a user