mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
14 lines
395 B
Solidity
14 lines
395 B
Solidity
uint256 constant x = 56;
|
|
enum ActionChoices {GoLeft, GoRight, GoStraight, Sit}
|
|
ActionChoices constant choices = ActionChoices.GoRight;
|
|
bytes32 constant st = "abc\x00\xff__";
|
|
contract C {
|
|
function i() public returns (uint, ActionChoices, bytes32) {
|
|
return (x, choices, st);
|
|
}
|
|
}
|
|
// ====
|
|
// SMTEngine: all
|
|
// ----
|
|
// Warning 2018: (188-278): Function state mutability can be restricted to pure
|