diff options
Diffstat (limited to 'roms/skiboot/ccan/endian/test/compile_ok-constant.c')
-rw-r--r-- | roms/skiboot/ccan/endian/test/compile_ok-constant.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roms/skiboot/ccan/endian/test/compile_ok-constant.c b/roms/skiboot/ccan/endian/test/compile_ok-constant.c new file mode 100644 index 000000000..1aef1dd19 --- /dev/null +++ b/roms/skiboot/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; +} |