aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attr-used-3.c
blob: 5a6ea991dc4b95c6a8f4b042797e39a64692995d (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-Wall -O2 -fcommon" } */

static int xyzzy __attribute__((__used__)); 

/* { dg-final { scan-assembler "xyzzy" } } */
/* { dg-final { scan-assembler-not ",\"awR\"" { target R_flag_in_section } } } */