3 #![allow(non_upper_case_globals)]
5 static lsl : isize = 1 << 2;
6 static add : isize = 1 + 2;
7 static addf : f64 = 1.0 + 2.0;
8 static not : isize = !0;
9 static notb : bool = !true;
10 static neg : isize = -(1);
15 assert_eq!(addf, 3.0);
17 assert_eq!(notb, false);