mirror of
https://github.com/samba-team/samba.git
synced 2025-06-24 15:17:06 +03:00
New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
22 lines
379 B
C
22 lines
379 B
C
#include <ccan/tcon/tcon.h>
|
|
#include <stdlib.h>
|
|
|
|
struct container {
|
|
void *p;
|
|
};
|
|
|
|
struct void_container {
|
|
struct container raw;
|
|
TCON(void *canary);
|
|
};
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
struct void_container vcon;
|
|
|
|
tcon_check(&vcon, canary, NULL)->raw.p = NULL;
|
|
tcon_check(&vcon, canary, argv[0])->raw.p = NULL;
|
|
tcon_check(&vcon, canary, main)->raw.p = NULL;
|
|
return 0;
|
|
}
|