gcc/testsuite/gcc.target/avr/pr71151-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-Os -ffunction-sections -fdata-sections" } */ |
| 3 | |
| 4 | /* { dg-final { scan-assembler-not ".section .progmem.gcc_sw_table.foo.str1.1" } } */ |
| 5 | /* { dg-final { scan-assembler ".section .rodata.foo.str1.1,\"aMS\"" } } */ |
| 6 | |
| 7 | |
| 8 | extern void bar(const char*); |
| 9 | void foo(void) |
| 10 | { |
| 11 | bar("BBBBBBBBBB"); |
| 12 | } |