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

7 lines
103 B
Solidity
Raw Normal View History

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