2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.dg / debug / debug-1.c
blob8cc520dcd7972175d017e55117584df3d9f62a7d
1 /* Verify that the scheduler does not discard the lexical block. */
2 /* { dg-do compile } */
3 /* { dg-options "-dA" } */
4 /* { dg-final { scan-assembler "xyzzy" } } */
6 long p;
8 long foo(void)
11 long xyzzy = 0;
12 if (p)
13 xyzzy = 2;
14 return xyzzy;