summaryrefslogtreecommitdiffstats
path: root/src/tests/misc/test_cxx_rpc.cpp
blob: b6ca4d3986cecddec90dd7c4ee8d415598676ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test that the krb5.h header is compatible with C++ application code.

#include "gssrpc/rpc.h"

struct sockaddr_in s_in;
int main (int argc, char *argv[])
{
    if (argc == 47 && get_myaddress (&s_in)) {
	printf("error\n");
	return 1;
    }
    printf("hello, world\n");
    return 0;
}