OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / 20010118-1.c
1 static unsigned int bar(void *h, unsigned int n)
2 {
3   static int i;
4   return i++;
5 }
6
7 static void baz(unsigned int *x)
8 {
9   (*x)++;
10 }
11
12 long
13 foo(void *h, unsigned int l)
14 {
15   unsigned int n;
16   long m;
17   n = bar(h, 0);
18   n = bar(h, n);
19   m = ({ baz(&n); 21; });
20   return m;
21 }