aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/317_fixed_type_valid_explicit_conversions.sol
blob: 388014579efa874b9eec24fa12e81f1ac64cabf8 (plain) (blame)
1
2
3
4
5
6
7
8
9
contract test {
    function f() public {
        ufixed256x80 a = ufixed256x80(1/3); a;
        ufixed248x80 b = ufixed248x80(1/3); b;
        ufixed8x1 c = ufixed8x1(1/3); c;
    }
}
// ----
// Warning: (20-182): Function state mutability can be restricted to pure