1 // { dg-do run } 2 // GROUPS passed operators 3 // opr-mm file 4 // Date: Thu, 2 Jun 94 10:00:29 +0200 5 // From: chatty@cenatls.cena.dgac.fr (Stephane Chatty) 6 // Message-Id: <9406020800.AA14201@geant.cenatls.cena.dgac.fr> 7 // Subject: result of operator -- with g++-2.5.8 8 9 #include <stdio.h> 10 nop()11void nop() 12 { 13 } 14 main()15int main () 16 { 17 int a = 2; 18 19 if (----a == 0) 20 nop (); 21 22 if (a == 0) 23 printf("PASS\n"); 24 else 25 { printf("FAIL\n"); return 1; } 26 } 27