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

9 lines
209 B
Solidity
Raw Normal View History

contract D {}
contract C {
function foo(int a) pure external {
this.foo{random:5+5};
}
}
// ----
// TypeError: (73-93): Unknown call option "random". Valid options are "salt", "value" and "gas".