1 /* Test warning from conflicting visibility specifications. */
2 /* { dg-do compile { target *86-*-linux* } } */
3 /* { dg-final { scan-assembler "\\.hidden.*xyzzy" } } */
6 __attribute__((visibility ("hidden")))
7 xyzzy; /* { dg-warning "previous declaration here" "" } */
10 __attribute__((visibility ("protected")))
11 xyzzy = 5; /* { dg-warning "visibility attribute ignored" "" } */