solidity/test/libsolidity/syntaxTests/functionCalls/calloptions_on_internal_function.sol

9 lines
220 B
Solidity

contract D {}
contract C {
function foo(int a) pure internal {
foo{gas: 5};
}
}
// ----
// TypeError 2193: (75-86): Function call options can only be set on external function calls or contract creations.