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

7 lines
183 B
Solidity

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.