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

9 lines
247 B
Solidity
Raw Normal View History

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