projects
/
ccan
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
bytestring: new module.
[ccan]
/
ccan
/
bytestring
/
test
/
compile_fail-BYTESTRING-2.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
const char *x = "abcde";
9
10
#ifdef FAIL
11
bs = BYTESTRING(x);
12
#endif
13
printf("%zd %s\n", bs.len, x);
14
return 0;
15
}