gcc/testsuite/gcc.target/avr/pr53372-2.c
raw| 1 | /* { dg-do compile { target { ! avr_tiny } } } */ |
| 2 | /* { dg-options "-std=gnu99 -fdata-sections" } */ |
| 3 | |
| 4 | __attribute__((__section__("fffsection"))) |
| 5 | const __flash char fff = 123; |
| 6 | |
| 7 | const __flash char ppp = 124; |
| 8 | |
| 9 | /* { dg-final { scan-assembler ".section fffsection,\"a\",@progbits" } } */ |
| 10 | /* { dg-final { scan-assembler ".section .progmem.data.ppp,\"a\",@progbits" } } */ |