URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do run }
|
// { dg-do run }
|
// GROUPS passed operators
|
// GROUPS passed operators
|
// opr-mm file
|
// opr-mm file
|
// Date: Thu, 2 Jun 94 10:00:29 +0200
|
// Date: Thu, 2 Jun 94 10:00:29 +0200
|
// From: chatty@cenatls.cena.dgac.fr (Stephane Chatty)
|
// From: chatty@cenatls.cena.dgac.fr (Stephane Chatty)
|
// Message-Id: <9406020800.AA14201@geant.cenatls.cena.dgac.fr>
|
// Message-Id: <9406020800.AA14201@geant.cenatls.cena.dgac.fr>
|
// Subject: result of operator -- with g++-2.5.8
|
// Subject: result of operator -- with g++-2.5.8
|
|
|
#include
|
#include
|
|
|
void nop()
|
void nop()
|
{
|
{
|
}
|
}
|
|
|
int main ()
|
int main ()
|
{
|
{
|
int a = 2;
|
int a = 2;
|
|
|
if (----a == 0)
|
if (----a == 0)
|
nop ();
|
nop ();
|
|
|
if (a == 0)
|
if (a == 0)
|
printf("PASS\n");
|
printf("PASS\n");
|
else
|
else
|
{ printf("FAIL\n"); return 1; }
|
{ printf("FAIL\n"); return 1; }
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.