blob: 727e6115d71a57ec489f23d52ab13f03ffc0e736 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
contract test {
function fun(uint256 a) returns (address b) {
if (a < 0) b = 0x67; else if (a == 0) b = 0x12; else b = 0x78;
}
}
// ----
// Warning: (20-142): No visibility specified. Defaulting to "public".
// Warning: (20-142): Function state mutability can be restricted to pure
|