1 /* Test that a definition marked with dllexport has default
3 /* { dg-require-visibility "" } */
4 /* { dg-require-dll "" } */
5 /* { dg-options "-fvisibility=hidden" } */
6 /* { dg-final { scan-not-hidden "g" } } */
7 /* { dg-final { scan-not-hidden "h" } } */
8 /* { dg-final { scan-not-hidden "k" } } */
9 /* { dg-final { scan-not-hidden "l" } } */
11 __declspec(dllexport
) void g() {}
13 __declspec(dllexport
) void h();
16 __declspec(dllexport
) int k
;
18 __declspec(dllexport
) extern int l
;