Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / gcc.target / xstormy16 / bss_below100 / 02_const_to_b100w.c
blobd011ffd664e5dd056f886ea7014eb70b868e5977
1 /* { dg-options { -nostartfiles below100.o -Tbelow100.ld -O2 } } */
2 /* { dg-final { scan-assembler "mov.w B100,#4660" } } */
4 char acDummy[0xf0] __attribute__ ((__BELOW100__));
5 unsigned short B100 __attribute__ ((__BELOW100__));
6 unsigned short *p = &B100;
8 void
9 Do (void)
11 B100 = 0x1234;
14 int
15 main (void)
17 *p = 0x9876;
18 Do ();
19 return (*p == 0x1234) ? 0 : 1;