aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/308_rational_unary_plus_operation.sol
blob: f635a214d38bed89a2860274e2196cb02803684f (plain) (blame)
1
2
3
4
5
6
7
8
9
contract test {
    function f() pure public {
        ufixed16x2 a = +3.25;
        fixed16x2 b = -3.25;
        a; b;
    }
}
// ----
// SyntaxError: (70-75): Use of unary + is disallowed.