PR target/84226
[official-gcc.git] / gcc / testsuite / gcc.target / avr / pr71151-1.c
blob615dce860262a1da4d3b47e6ab42e1d2c0c36166
1 /* { dg-do compile } */
2 /* { dg-options "-Os -ffunction-sections -fdata-sections" } */
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\"" } } */
8 extern void bar(const char*);
9 void foo(void)
11 bar("BBBBBBBBBB");