solidity/test/libsolidity/semanticTests/viaYul/return.sol

11 lines
153 B
Solidity
Raw Normal View History

2019-04-24 21:48:12 +00:00
contract C {
function f() public pure returns (uint x) {
return 7;
x = 3;
}
}
// ====
// compileViaYul: true
// ----
// f() -> 7