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

10 lines
158 B
Solidity
Raw Normal View History

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