Fix warning with -Wsign-compare -Wsystem-headers
[official-gcc.git] / gcc / testsuite / gcc.target / m68k / 20090709-1.c
blobce835a11f1742cc47725e15501a4934ac35d2eb6
1 /* { dg-do compile } */
2 /* There should be 3 occurrences of .LC0 in the code:
3 one for the definition of "0",
4 one for use in test2().
5 The occurrence in test1 is collapsed to an integer constant
6 FIXME: At the moment m68k GCC does not optimize test1() to nop
7 for some reason. */
8 /* { dg-final { scan-assembler-times ".LC0" 2 } } */
10 void dummy(char *arg);
12 void test1(void)
14 char tmp[2] = "0";
17 void test2(void)
19 dummy("0");