2 /* { dg-do compile } */
3 /* { dg-options "-O" } */
8 bar (int i
, int j
, double k
)
10 foo (i
&& j
) (); /* { dg-error "\\(i != 0 \\&\\& j != 0\\)" } */
11 foo (!i
|| !j
) (); /* { dg-error "\\(i == 0 \\|\\| j == 0\\)" } */
12 foo (!i
== !j
) (); /* { dg-error "\\(i != 0 \\^ j == 0\\)" } */