aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/326_inline_array_rationals.sol
blob: bdc3c2c14bc9cdfe8ef169b19be859bd437d8078 (plain) (blame)
1
2
3
4
5
6
7
8
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