summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/attr-weakref-3.c
blob: fe4462a8a3a22523db0f47c25dd82e6e137aab38 (plain)
1
2
3
/* { dg-do compile } */
/* { dg-require-weak "" } */
static int i __attribute__ ((weakref)); /* { dg-warning "attribute should be accompanied" } */