Debian Codegraph @

gcc/testsuite/gcc.c-torture/compile/pr100576.c

raw
1 /* { dg-require-effective-target non_strict_prototype } */
2 /* { dg-additional-options "-fpermissive" } */
3
4 /* PR middle-end/100576 */
5
6 const char v[] = {0x12};
7
8 void
9 foo (const char *p)
10 {
11 int b = sizeof v;
12 int n = memcmp (p, v, b);
13 if (n)
14 __builtin_abort ();
15 }