solidity/test/libsolidity/syntaxTests/functionCalls/invalid_expressions_with_calloptions1.sol
2022-04-01 23:41:18 -05:00

9 lines
186 B
Solidity

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