| 1 |
#include "libA.h" |
| 2 |
|
| 3 |
#undef DLL_PUBLIC |
| 4 |
#define BUILDING_DLL |
| 5 |
#include "config.h" |
| 6 |
|
| 7 |
namespace meson_test_as_needed { |
| 8 |
namespace { |
| 9 |
bool set_linked() { |
| 10 |
linked = true; |
| 11 |
return true; |
| 12 |
} |
| 13 |
bool stub = set_linked(); |
| 14 |
} |
| 15 |
|
| 16 |
DLL_PUBLIC int libB_unused_func() { |
| 17 |
return 0; |
| 18 |
} |
| 19 |
} |