solidity/test/libsolidity/syntaxTests/freeFunctions/free_payable.sol

5 lines
96 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
function fun() payable {
}
// ----
// TypeError 9559: (0-26): Free functions cannot be payable.