aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/const-in-bss.c
blob: c70aa0bcb4ebf834365a51a0ca744e2e084d5e19 (plain)
1
2
3
4
5
6
/* { dg-do compile { target *-*-linux* } } */

__attribute__((section("readonly1"))) const int foo1c;

/* { dg-final { scan-assembler "readonly1,\"a\"" } } */
/* { dg-final { scan-assembler-not "readonly1,\"aw\"" } } */