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/] [980716-1.c] - Blame information for rev 297

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
#include <stdarg.h>
2
 
3
void
4
stub(int num, ...)
5
{
6
    va_list ap;
7
    char *end;
8
    int i;
9
 
10
    for (i = 0; i < 2; i++) {
11
        va_start(ap, num);
12
        while ( 1 ) {
13
            end = va_arg(ap, char *);
14
            if (!end) break;
15
        }
16
        va_end(ap);
17
    }
18
}
19
 
20
int
21
main()
22
{
23
    stub(1, "ab", "bc", "cx", 0);
24
    exit (0);
25
}
26
 

powered by: WebSVN 2.1.0

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