Lines Matching full:void
3 template <int A, int B> void foo() {
4 (void)(A == A); // expected-warning {{self-comparison always evaluates to true}}
5 (void)(A == B);
8 void foo() {
9 (void)(A == A); // expected-warning {{self-comparison always evaluates to true}}
10 (void)(A == B);
16 (void)(A == A); // expected-warning {{self-comparison always evaluates to true}}
17 (void)(A == B);
22 template <int A, int B> void foo() {
23 (void)(A == A); // expected-warning {{self-comparison always evaluates to true}}
24 (void)(A == B);
29 template <int B> void foo() {
30 (void)(A == A); // expected-warning {{self-comparison always evaluates to true}}
31 (void)(A == B);
36 template <int X> void foo2() {
37 (void)(X == N);
38 (void)(N == X);
41 void test() {
44 S2<1, 1> s2; s2.foo<void>();