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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.law/] [operators30.C] - Rev 816

Compare with Previous | Blame | View Log

// { dg-do run  }
// GROUPS passed operators
// opr-mm file
// Date: Thu, 2 Jun 94 10:00:29 +0200
// From: chatty@cenatls.cena.dgac.fr (Stephane Chatty)
// Message-Id: <9406020800.AA14201@geant.cenatls.cena.dgac.fr>
// Subject: result of operator -- with g++-2.5.8

#include <stdio.h>

void nop()
{
}

int main ()
{
        int a = 2;

        if (----a == 0)
                nop ();

        if (a == 0)
                printf("PASS\n");
        else
                { printf("FAIL\n"); return 1; }
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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