solidity/test/libsolidity/syntaxTests/freeFunctions/free_payable.sol
2020-08-18 11:46:59 +02:00

5 lines
96 B
Solidity

function fun() payable {
}
// ----
// TypeError 9559: (0-26): Free functions cannot be payable.