2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr40792.c
blob41f080e542ef46a39ec544d762c9802f61dc712c
1 /* PR tree-optimization/40792 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
5 void foo (int, char *, int *);
7 void
8 bar (int *a, int *b, ...)
10 int c;
11 char d[256];
12 foo (*b, d, &c);
15 static int a, b;
17 void
18 baz (int c)
20 bar (&a, &b);