RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20151204.c
blob6a46abf722572d22316b3c952c99c99070adeebf
1 /* { dg-skip-if "Array too big" { "avr-*-*" "pdp11-*-*" } } */
3 typedef __SIZE_TYPE__ size_t;
5 int strcmp (const char*, const char*);
6 void *memchr (const void *, int, size_t);
7 char* strncpy (char *, const char *, size_t);
9 int
10 main (int argc, char** argv)
12 char target[32753] = "A";
13 char buffer[32753];
14 char *x;
15 x = buffer;
17 if (strcmp (target, "A")
18 || memchr (target, 'A', 0) != ((void *) 0))
19 if (strncpy (x, "", 4) != x);
20 return 0;