summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr37645.c
blob: ac1e5a9d1c812048b5010d04b89447245728101f (plain)
1
2
3
4
5
/* 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" } */