* tree-ssa-loop-manip.c (split_loop_exit_edge): Return the new block.
[official-gcc.git] / gcc / testsuite / gcc.dg / visibility-10.c
blobd86ce1b1a30890da95458b81d63b313d5a0ef33a
1 /* Test that a definition marked with dllexport has default
2 visibility. */
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();
14 void h() {}
16 __declspec(dllexport) int k;
18 __declspec(dllexport) extern int l;
19 int l;