solidity/test/libsolidity/semanticTests/receive/ether_and_data.sol

9 lines
134 B
Solidity

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