Home | History | Annotate | Download | only in Sema

Lines Matching refs:test0

38   unsigned long test0 = 5;
39 test0 = test0 ? (long) test0 : test0; // expected-warning {{operand of ? changes signedness: 'long' to 'unsigned long'}}
40 test0 = test0 ? (int) test0 : test0; // expected-warning {{operand of ? changes signedness: 'int' to 'unsigned long'}}
41 test0 = test0 ? (short) test0 : test0; // expected-warning {{operand of ? changes signedness: 'short' to 'unsigned long'}}
42 test0 = test0 ? test0 : (long) test0; // expected-warning {{operand of ? changes signedness: 'long' to 'unsigned long'}}
43 test0 = test0 ? test0 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' to 'unsigned long'}}
44 test0 = test0 ? test0 : (short) test0; // expected-warning {{operand of ? changes signedness: 'short' to 'unsigned long'}}
45 test0 = test0 ? test0 : (long) 10;
46 test0 = test0 ? test0 : (int) 10;
47 test0 = test0 ? test0 : (short) 10;
48 test0 = test0 ? (long) 10 : test0;
49 test0 = test0 ? (int) 10 : test0;
50 test0 = test0 ? (short) 10 : test0;
54 test0 = test0 ? EVal : test0;
55 test1 = test0 ? EVal : (int) test0;
56 test0 = test0 ?
58 : (int) test0; // expected-warning {{operand of ? changes signedness: 'int' to 'unsigned long'}}
60 test0 = test0 ? EVal : test1; // expected-warning {{operand of ? changes signedness: 'int' to 'unsigned long'}}
61 test0 = test0 ? test1 : EVal; // expected-warning {{operand of ? changes signedness: 'int' to 'unsigned long'}}
65 *(test0 ? const_int : nonconst_int) = 42; // expected-error {{read-only variable is not assignable}}
66 *(test0 ? nonconst_int : const_int) = 42; // expected-error {{read-only variable is not assignable}}
71 sizeof(*(test0 ? incomplete : complete)); // expected-warning {{expression result unused}}
72 sizeof(*(test0 ? complete : incomplete)); // expected-warning {{expression result unused}}
76 test0 ? adr2 : adr3; // expected-warning {{pointer type mismatch}} expected-warning {{expression result unused}}
79 (test0 ? (test0 ? adr2 : adr2) : nonconst_int); // expected-warning {{pointer type mismatch}} expected-warning {{expression result unused}}