rt_gccstream/gcc/testsuite/gcc.dg/pr37645.c

6 lines
227 B
C

/* PR c/37645 */
/* { dg-do compile } */
typedef int T __attribute__((__weakref__ ("U"))); /* { dg-warning "attribute ignored" } */
void foo (int i __attribute__((__weakref__ ("j")))); /* { dg-warning "attribute ignored" } */