Lines Matching refs:subscript
5 char subscript = 0; in t1() local
6 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t1()
11 char subscript = 0; in t2() local
12 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} in t2()
17 char subscript = 0; in t3() local
18 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t3()
23 char subscript = 0; in t4() local
24 int val = subscript[array]; // expected-warning{{array subscript is of type 'char'}} in t4()
35 signed char subscript = 0; in t6() local
36 int val = array[subscript]; // no warning for explicit signed char in t6()
41 unsigned char subscript = 0; in t7() local
42 int val = array[subscript]; // no warning for unsigned char in t7()
48 CharTy subscript = 0; in t8() local
49 int val = array[subscript]; // expected-warning{{array subscript is of type 'char'}} in t8()
55 SignedCharTy subscript = 0; in t9() local
56 int val = array[subscript]; // no warning for explicit signed char in t9()
62 UnsignedCharTy subscript = 0; in t10() local
63 int val = array[subscript]; // no warning for unsigned char in t10()