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