solidity/test/libsolidity/syntaxTests/inline_arrays/inline_array_fixed_types.sol
2019-08-16 17:14:49 +02:00

10 lines
316 B
Solidity

contract test {
function f() public {
fixed[3] memory a = [fixed(3.5), fixed(-4.25), fixed(967.125)];
}
}
// ----
// UnimplementedFeatureError: Not yet implemented - FixedPointType.
// Warning: (50-67): Unused local variable.
// Warning: (20-119): Function state mutability can be restricted to pure