1 2 3 4 5 6 7 8
module Main where #include <stdint.h> #def typedef struct { uint8_t a; uint64_t b; uint16_t c; } eight; main :: IO () main = print #{alignment eight}