mirror of
https://gitlab.com/gnuwget/wget2.git
synced 2026-01-14 02:01:39 +00:00
* libwget/Makefile.am: Add libwget_progress.la * libwget/test_linking_progress.c: New file
17 lines
322 B
C
17 lines
322 B
C
// Just a test for static linking.
|
|
// We call one function from each object file in libwget_progress
|
|
// Unresolved references should come up on linking.
|
|
|
|
#include <config.h>
|
|
#include <wget.h>
|
|
|
|
int main(void)
|
|
{
|
|
wget_bar *bar = wget_bar_init(NULL, 1);
|
|
|
|
if (bar) {
|
|
wget_bar_set_slots(bar, 2);
|
|
wget_bar_free(&bar);
|
|
}
|
|
}
|