diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/pr37645.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/pr37645.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/pr37645.c b/gcc/testsuite/gcc.dg/pr37645.c new file mode 100644 index 000000000..ac1e5a9d1 --- /dev/null +++ b/gcc/testsuite/gcc.dg/pr37645.c @@ -0,0 +1,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" } */ |