diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2016-09-16 15:17:22 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2016-09-16 15:17:22 +0200 |
commit | ae5de607bec054c1611c7d91c4d12cf070fa4159 (patch) | |
tree | b02baf1682bb31f7fc6ffed95aa6b7bd8350b6a8 /gcc/testsuite/gcc.target/avr/pr71151-1.c | |
parent | afe3fc322a7edd6a564d5a79b0ab640be227f548 (diff) |
All added testcases since linaro 6 branch creation.linaro-local/Yvan-linaro-6-branch-tests
Change-Id: Ibd63e9edfec0418ef3b882b2e0f82a1a17c357b6
Diffstat (limited to 'gcc/testsuite/gcc.target/avr/pr71151-1.c')
-rw-r--r-- | gcc/testsuite/gcc.target/avr/pr71151-1.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/avr/pr71151-1.c b/gcc/testsuite/gcc.target/avr/pr71151-1.c new file mode 100644 index 00000000000..615dce86026 --- /dev/null +++ b/gcc/testsuite/gcc.target/avr/pr71151-1.c @@ -0,0 +1,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"); +} |