Home | History | Annotate | Download | only in test

Lines Matching defs:Int8

17 	// assume all types behave similarly to int8/uint8
18 Int8 int8 = 101
19 Minus1 int8 = -1
33 a1 = Int8 * 100 // ERROR "overflow"
34 a2 = Int8 * -1 // OK
35 a3 = Int8 * 1000 // ERROR "overflow"
36 a4 = Int8 * int8(1000) // ERROR "overflow"
37 a5 = int8(Int8 * 1000) // ERROR "overflow"
38 a6 = int8(Int8 * int8(1000)) // ERROR "overflow"
39 a7 = Int8 - 2*Int8 - 2*Int8 // ERROR "overflow"
40 a8 = Int8 * Const / 100 // ERROR "overflow"
41 a9 = Int8 * (Const / 100) // OK
52 b8 = uint8(int8(-1)) // ERROR "overflow"
77 f(Int8) // ERROR "convert|wrong type|cannot"