Lines Matching refs:array1
49 int array1[2]; in array_comparisons() local
55 return array1 == array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
56 return array1 != array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
57 return array1 < array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
58 return array1 <= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
59 return array1 > array1; // expected-warning{{self-comparison always evaluates to false}} in array_comparisons()
60 return array1 >= array1; // expected-warning{{self-comparison always evaluates to true}} in array_comparisons()
65 return array1 == array2; // expected-warning{{array comparison always evaluates to false}} in array_comparisons()
66 return array1 != array2; // expected-warning{{array comparison always evaluates to true}} in array_comparisons()
71 return array1 < array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
72 return array1 <= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
73 return array1 > array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()
74 return array1 >= array2; // expected-warning{{array comparison always evaluates to a constant}} in array_comparisons()