solidity/test/libsolidity/syntaxTests/inline_arrays/inline_array_rationals.sol

10 lines
325 B
Solidity
Raw Normal View History

contract test {
function f() public {
ufixed128x3[4] memory a = [ufixed128x3(3.5), 4.125, 2.5, 4.0];
}
}
// ----
2019-08-16 13:53:10 +00:00
// UnimplementedFeatureError: Not yet implemented - FixedPointType.
// Warning 2072: (50-73): Unused local variable.
// Warning 2018: (20-118): Function state mutability can be restricted to pure