solidity/test/libsolidity/semanticTests/freeFunctions/free_namesake_contract_function.sol
2022-05-19 20:23:28 +02:00

11 lines
187 B
Solidity

function f() pure returns (uint) { return 1337; }
contract C {
function f() public pure returns (uint) {
return f();
}
}
// ====
// compileToEwasm: also
// ----
// f() -> FAILURE