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

static int xyzzy __attribute__((__used__, __retain__)); 

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