summaryrefslogtreecommitdiff
path: root/testsuite/tests/hsc2hs/T4340.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/hsc2hs/T4340.hsc')
-rw-r--r--testsuite/tests/hsc2hs/T4340.hsc8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/hsc2hs/T4340.hsc b/testsuite/tests/hsc2hs/T4340.hsc
new file mode 100644
index 0000000000..5ae9e2a3a9
--- /dev/null
+++ b/testsuite/tests/hsc2hs/T4340.hsc
@@ -0,0 +1,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}