solidity/test/libsolidity/semanticTests/freeFunctions/free_namesake_contract_function.sol
Djordje Mijovic b73e9f3eef Update tests.
2021-03-10 14:22:30 +01:00

12 lines
210 B
Solidity

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