PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / pr43942.c
blob3d97db6624e8e477febc1c54851fb1c1641affc0
1 /* PR debug/43942 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fcompare-debug" } */
5 extern int f1 (int);
7 int
8 f2 (int x)
10 extern int v;
11 return f1 (x);
14 void
15 f3 (void)
17 f2 (0);
20 static inline int
21 f4 (int x)
23 extern int w;
24 if (w)
25 return f1 (x);
26 return 0;
29 void
30 f5 (void)
32 f4 (0);