2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr37156.c
blobe86f5950f734e644e36560da33a6adcfe0ec32dd
1 /* PR debug/37156 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g" } */
5 __attribute__ ((warning ("is experimental"))) int bar (int, int *, int *, int);
7 long long foo (void)
9 int n, m;
10 long long r;
11 bar (0, &n, &m, 0); /* { dg-warning "is experimental" } */
12 r = (long long) n;
13 return r;
16 void
17 baz (int n)
19 int o;
20 o = foo () - n;