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

7 lines
183 B
Solidity
Raw Normal View History

2020-05-04 16:38:00 +00:00
function fun() {
fun{gas: 1}();
fun{value: 1}();
}
// ----
// TypeError 2193: (21-32): Function call options can only be set on external function calls or contract creations.