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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [execute/] [vrp-4.c] - Blame information for rev 298

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

Line No. Rev Author Line
1 297 jeremybenn
extern void exit (int);
2
extern void abort ();
3
 
4
void test(int x, int y)
5
{
6
        int c;
7
 
8
        if (x == 1) abort();
9
        if (y == 1) abort();
10
 
11
        c = x / y;
12
 
13
        if (c != 1) abort();
14
}
15
 
16
int main()
17
{
18
        test(2, 2);
19
        exit (0);
20
}

powered by: WebSVN 2.1.0

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