/* Copyright (C) 2002 Free Software Foundation. Test for composite comparison always true/false optimization. Written by Roger Sayle, 7th June 2002. */ extern void link_error0 (); extern void link_error1 (); void test1 (int x, int y) { if ((x==y) && (x!=y)) link_error0(); } void test2 (int x, int y) { if ((xy)) link_error0(); } void test3 (int x, int y) { if ((x=y) || (x