commit | 6a58a272014da25e143c91481d143d6460a0f71c | [log] [tgz] |
---|---|---|
author | Norman James <nkskjames@gmail.com> | Wed Oct 07 14:34:16 2015 -0500 |
committer | Norman James <nkskjames@gmail.com> | Wed Oct 07 14:34:16 2015 -0500 |
tree | d69adf7fad5451cd21f5f6121ce37af03329d37d | |
parent | 1b96ae708f2de6954834ec339e1f5418d6f5b529 [diff] [blame] |
add pflash
diff --git a/objects/pflash/ccan/endian/test/compile_ok-constant.c b/objects/pflash/ccan/endian/test/compile_ok-constant.c new file mode 100644 index 0000000..93b5a03 --- /dev/null +++ b/objects/pflash/ccan/endian/test/compile_ok-constant.c
@@ -0,0 +1,12 @@ +#include <ccan/endian/endian.h> + +struct foo { + char one[BSWAP_16(0xFF00)]; + char two[BSWAP_32(0xFF000000)]; + char three[BSWAP_64(0xFF00000000000000ULL)]; +}; + +int main(void) +{ + return 0; +}