solidity/test/libsolidity/semanticTests/various/literal_empty_string.sol
2020-03-19 14:42:25 +01:00

21 lines
269 B
Solidity

contract C {
bytes32 public x;
uint256 public a;
function f(bytes32 _x, uint256 _a) public {
x = _x;
a = _a;
}
function g() public {
this.f("", 2);
}
}
// ----
// x() -> 0
// a() -> 0
// g() ->
// x() -> 0
// a() -> 2