1 // Just a test for static linking.
2 // We call one function from each object file in libwget_progress
3 // Unresolved references should come up on linking.
4 
5 #include <config.h>
6 #include <wget.h>
7 
main(void)8 int main(void)
9 {
10 	wget_bar *bar = wget_bar_init(NULL, 1);
11 
12 	if (bar) {
13 		wget_bar_set_slots(bar, 2);
14 		wget_bar_free(&bar);
15 	}
16 }
17