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

10 lines
176 B
Solidity
Raw Normal View History

contract C {
struct S { uint a; bool x; }
S public s;
2020-06-23 12:14:24 +00:00
constructor() {
3({a: 1, x: true});
}
}
// ----
2020-06-23 12:14:24 +00:00
// TypeError 5704: (90-108): Type is not callable