2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.law / operators30.C
blobcd57188dbad574e8cb7c725204f77034ca7481a1
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
9 #include <stdio.h>
11 void nop()
15 int main ()
17         int a = 2;
19         if (----a == 0)
20                 nop ();
22         if (a == 0)
23                 printf("PASS\n");
24         else
25                 { printf("FAIL\n"); return 1; }