PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of source
[official-gcc.git] / gcc / testsuite / gcc.dg / Wstrict-overflow-8.c
blob566729fe308874feb0315851e4f4ad1baf72b8cb
1 /* { dg-do compile } */
2 /* { dg-options "-fstrict-overflow -O2 -Wall -Wno-strict-overflow" } */
4 /* Source: Ian Lance Taylor. */
6 int
7 foo (int i)
9 return i + 10 > i;