Improve k5_get_os_entropy for Windows
[krb5.git] / src / tests / misc / test_cxx_krb5.cpp
1 // Test that the krb5.h header is compatible with C++ application code.
2
3 #include <stdio.h>
4 #include "krb5.h"
5 #include "krb5/locate_plugin.h"
6 #include "profile.h"
7
8 int main (int argc, char *argv[])
9 {
10     krb5_context ctx;
11
12     if (krb5_init_context(&ctx) != 0) {
13         printf("krb5_init_context returned an error\n");
14         return 1;
15     }
16     printf("hello, world\n");
17     return 0;
18 }