mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
124 B
Solidity
6 lines
124 B
Solidity
|
contract test {
|
||
|
function f() payable internal {}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (20-52): Internal functions cannot be payable.
|