OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [operators30.C] - Blame information for rev 305

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { 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 
10
 
11
void nop()
12
{
13
}
14
 
15
int 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.