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 test1() and
5   one for use in test2().
6   FIXME: At the moment m68k GCC does not optimize test1() to nop
7   for some reason.  */
8/* { dg-final { scan-assembler-times ".LC0" 3 } } */
9
10void dummy(char *arg);
11
12void test1(void)
13{
14  char tmp[2] = "0";
15}
16
17void test2(void)
18{
19  dummy("0");
20}
21