s3:libsmb/ntlmssp: an empty string should mean no password
[Samba/gebeck_regimport.git] / lib / ccan / tcon / test / compile_ok.c
blob447f0ee50a02b739fa45e2cb18f4c34e52e652e4
1 #include <ccan/tcon/tcon.h>
2 #include <stdlib.h>
4 struct container {
5 void *p;
6 };
8 struct int_container {
9 struct container raw;
10 TCON(int tc);
13 struct charp_and_int_container {
14 struct container raw;
15 TCON(int tc1; char *tc2);
18 int main(int argc, char *argv[])
20 struct int_container icon;
21 struct charp_and_int_container cicon;
23 tcon_check(&icon, tc, 7)->raw.p = NULL;
24 tcon_check(&cicon, tc1, 7)->raw.p = argv[0];
25 tcon_check(&cicon, tc2, argv[0])->raw.p = argv[0];
26 return 0;