PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20030216-1.c
blob0256ae39ebb02bc17fd6114eb2243150b4cc937e
1 /* This test requires constant propagation of loads and stores to be
2 enabled. This is only guaranteed at -O2 and higher. Do not run
3 at -O1. */
4 /* { dg-skip-if "requires higher optimization" { *-*-* } "-O1" "" } */
6 void link_error (void);
7 const double one=1.0;
8 main ()
10 #ifdef __OPTIMIZE__
11 if ((int) one != 1)
12 link_error ();
13 #endif
14 return 0;