solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/462_callable_crash.sol
2020-07-07 12:16:18 +02:00

10 lines
176 B
Solidity

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