PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / c-c++-common / guality / pr43141.c
blobe6fe79a0efc3a9880a4e00e6e5a81233122dbbcf
1 /* { dg-do run } */
2 /* { dg-options "-g" } */
4 int i;
5 static int f(int) __attribute ((noinline));
6 static int f(int x)
8 return i;
11 int main()
13 return f(42);
16 /* { dg-final { gdb-test 8 "sizeof (x)" "sizeof (int)" } } */