1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
/* { dg-do compile } */ /* { dg-options "-Wno-int-conversion" } */ int fn1 (int *), *fn2 (int); int fn1 (int *p) { int i = p; i = p; fn2 (p); return p; } int * fn2 (int i) { int *p = i; p = i; fn1 (i); return i; }