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)8int main(void) 9 { 10 wget_dns_cache *cache; 11 12 wget_dns_cache_init(&cache); 13 wget_dns_cache_add(cache, "localhost", 0, NULL); 14 wget_dns_cache_free(&cache); 15 } 16