1 /* { dg-require-visibility "" } */
2 /* { dg-require-dll "" } */
4 extern void __attribute__((dllimport
, visibility("hidden")))
5 f1(); /* { dg-error "visibility" } */
6 extern void __attribute__((visibility("hidden"), dllimport
))
7 f2(); /* { dg-error "visibility" } */
8 extern void __attribute__((dllexport
, visibility("hidden")))
9 f3(); /* { dg-error "visibility" } */
10 extern void __attribute__((visibility("hidden"), dllexport
))
11 f4(); /* { dg-error "visibility" } */
12 extern void __attribute__((visibility("default"), dllimport
))
14 extern void __attribute__((dllimport
, visibility("default")))
16 extern void __attribute__((visibility("default"), dllexport
))
18 extern void __attribute__((dllexport
, visibility("default")))