gcc/gcc/testsuite/gcc.dg/pr48022-2.c

12 lines
178 B
C

/* PR tree-optimization/48022 */
/* { dg-do compile } */
/* { dg-options "-O2 -Wstrict-overflow" } */
#include <string.h>
int
foo (const char *x)
{
return strcmp (x, "/");
}