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