mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
303 B
Solidity
10 lines
303 B
Solidity
contract C {
|
|
function f() public {}
|
|
}
|
|
// ====
|
|
// EVMVersion: >=byzantium
|
|
// revertStrings: debug
|
|
// ----
|
|
// f(), 1 ether -> FAILURE, hex"08c379a0", 0x20, 34, "Ether sent to non-payable functi", "on"
|
|
// () -> FAILURE, hex"08c379a0", 0x20, 53, "Contract does not have fallback ", "nor receive functions"
|