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

Subversion Repositories openrisc

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

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.