c1x --> c11.
[gcc.git] / gcc / testsuite / gcc.dg / pr37156.c
1 /* PR debug/37156 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -g" } */
4
5 __attribute__ ((warning ("is experimental"))) int bar (int, int *, int *, int);
6
7 long long foo (void)
8 {
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;
14 }
15
16 void
17 baz (int n)
18 {
19 int o;
20 o = foo () - n;
21 }