solidity/test/libsolidity/semanticTests/revertStrings/ether_non_payable_function.sol
Alex Beregszaszi 0b6f87ef3c Update tests
2021-05-31 10:43:18 +01:00

11 lines
280 B
Solidity

contract C {
function f() public {}
}
// ====
// EVMVersion: >=byzantium
// compileViaYul: also
// revertStrings: debug
// ----
// f(), 1 ether -> FAILURE, hex"4e487b71", 0x02
// () -> FAILURE, hex"08c379a0", 0x20, 53, "Contract does not have fallback ", "nor receive functions"