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

9 lines
170 B
Solidity
Raw Normal View History

contract D {}
contract C {
function foo(int a) pure internal {
a{val:5};
}
}
// ----
// TypeError: (71-79): Expected callable expression before call options.