solidity/test/libsolidity/syntaxTests/inline_arrays/inline_array_rationals.sol
2018-11-29 19:49:38 +01:00

9 lines
247 B
Solidity

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