solidity/test/libsolidity/syntaxTests/functionCalls/invalid_expressions_with_calloptions2.sol
2020-01-23 21:20:01 +01:00

9 lines
209 B
Solidity

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".