2018-06-05 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / Wint-conversion.c
blob1b7a03e431121ab9b4710ef5e7684f35821807c5
1 /* { dg-do compile } */
2 /* { dg-options "-Wno-int-conversion" } */
4 int fn1 (int *), *fn2 (int);
6 int
7 fn1 (int *p)
9 int i = p;
10 i = p;
11 fn2 (p);
12 return p;
15 int *
16 fn2 (int i)
18 int *p = i;
19 p = i;
20 fn1 (i);
21 return i;