PR tree-optimization/81384 - built-in form of strnlen missing
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20030914-2.c
blob38a81982ff265c7a053aa98ec4403b92694e12f8
1 /* On IRIX 6, PA is passed partially in registers and partially on the
2 stack. We therefore have two potential uses of pretend_args_size:
3 one for the partial argument and one for the varargs save area.
4 Make sure that these uses don't conflict. */
6 struct s { int i[18]; };
8 int f (struct s pa, int pb, ...)
10 return pb;
13 struct s gs;
15 int main ()
17 if (f (gs, 0x1234) != 0x1234)
18 abort ();
20 exit (0);