solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/318_invalid_array_declaration_with_rational.sol

9 lines
246 B
Solidity
Raw Normal View History

contract test {
function f() public {
uint[3.5] a; a;
}
}
// ----
// TypeError: (55-58): Array with fractional length specified.
2020-04-07 17:31:48 +00:00
// TypeError: (50-61): Data location must be "storage" or "memory" for variable, but none was given.