solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/462_callable_crash.sol

10 lines
183 B
Solidity

contract C {
struct S { uint a; bool x; }
S public s;
constructor() public {
3({a: 1, x: true});
}
}
// ----
// TypeError 5704: (97-115): Type is not callable