mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
178 B
Solidity
10 lines
178 B
Solidity
contract C {
|
|
struct S { uint a; bool x; }
|
|
S public s;
|
|
constructor() public {
|
|
3({a: 1, x: true});
|
|
}
|
|
}
|
|
// ----
|
|
// TypeError: (97-115): Type is not callable
|