1 // Just a test for static linking.
2 // We call one function from each object file in libwget_thread
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_dns *dns;
11 
12 	wget_dns_init(&dns);
13 	wget_dns_resolve(dns, "localhost", 80, 0, 0);
14 	wget_dns_free(&dns);
15 }
16