diff options
Diffstat (limited to 'Tests/FindCURL/Test/main.c')
-rw-r--r-- | Tests/FindCURL/Test/main.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/FindCURL/Test/main.c b/Tests/FindCURL/Test/main.c new file mode 100644 index 000000000..263775f95 --- /dev/null +++ b/Tests/FindCURL/Test/main.c @@ -0,0 +1,17 @@ +#include <curl/curl.h> +#include <stdio.h> +#include <stdlib.h> + +int main() +{ + struct curl_slist* slist; + + curl_global_init(0); + + slist = curl_slist_append(NULL, "CMake"); + curl_slist_free_all(slist); + + curl_global_cleanup(); + + return 0; +} |