summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr18479.c
blob: 493574e8a9f05ddfbdd964fc2d8855544ce25fba (plain)
1
2
3
/* { dg-do compile } */
/* { dg-options "" } */
struct __attribute__ ((visibility("default"))) Foo { int foo; }; /* { dg-warning "attribute ignored on types" } */