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

9 lines
135 B
Solidity

contract C {
receive () payable external { }
}
// ====
// compileToEwasm: also
// ----
// (), 1 ether
// (), 1 ether: 1 -> FAILURE