rt_gccstream/gcc/testsuite/gcc.dg/pr18479.c

4 lines
163 B
C

/* { dg-do compile } */
/* { dg-options "" } */
struct __attribute__ ((visibility("default"))) Foo { int foo; }; /* { dg-warning "attribute ignored on types" } */