blob: 602fe94bfcab9d1902f8edcca84b331f0fd6c46c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Test that the krb5 internal headers are compatible with C++ code.
// (Some Windows-specific code is in C++ in this source tree.)
#include <stdio.h>
#include "k5-int.h"
#include "k5-ipc_stream.h"
#include "k5-utf8.h"
int main (int argc, char *argv[])
{
krb5_context ctx;
if (krb5_init_context(&ctx) != 0) {
printf("krb5_init_context returned an error\n");
return 1;
}
printf("hello, world\n");
return 0;
}
|