solidity/test/libsolidity/syntaxTests/inline_arrays/inline_array_rationals.sol
2022-04-01 23:41:18 -05:00

10 lines
351 B
Solidity

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