]> git.ozlabs.org Git - ccan/blob - ccan/talloc/test/compile_fail-talloc_set.c
iscsi: ccanize a little more, add silly simple test case.
[ccan] / ccan / talloc / test / compile_fail-talloc_set.c
1 #include <ccan/talloc/talloc.c>
2
3 int main(void)
4 {
5         int *p;
6
7         talloc_set(
8 #ifdef FAIL
9                 p
10 #else
11                 &p
12 #endif
13                 , NULL);
14         return 0;
15 }