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

9 lines
248 B
Solidity

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