]> git.ozlabs.org Git - ccan/blob - ccan/talloc/test/compile_fail-talloc_set.c
modules: update documentation examples so they compile under ccanlint.
[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 }