]> git.ozlabs.org Git - ccan/blob - ccan/bytestring/test/compile_fail-BYTESTRING.c
bytestring: new module.
[ccan] / ccan / bytestring / test / compile_fail-BYTESTRING.c
1 #include <stdio.h>
2
3 #include <ccan/bytestring/bytestring.h>
4
5 int main(int argc, char *argv[])
6 {
7         struct bytestring bs;
8
9         bs = BYTESTRING(
10 #ifdef FAIL
11                 argv[0]
12 #else
13                 "literal"
14 #endif
15 );
16         printf("%zd\n", bs.len);
17         return 0;
18 }