solidity/test/libsolidity/syntaxTests/literalSuffixes/usableAsSuffix/invalid_struct_as_suffix.sol
2023-05-17 16:55:14 +02:00

10 lines
139 B
Solidity

struct S {
uint x;
}
contract C {
uint a = 1000 S;
}
// ----
// TypeError 6469: (52-58): Type cannot be used as a literal suffix.