solidity/test/libsolidity/semanticTests/receive/ether_and_data.sol
2023-05-11 10:56:55 -05:00

7 lines
103 B
Solidity

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