diff options
Diffstat (limited to 'test/CodeGen/CBackend/2007-07-11-PackedStruct.ll')
-rw-r--r-- | test/CodeGen/CBackend/2007-07-11-PackedStruct.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/2007-07-11-PackedStruct.ll b/test/CodeGen/CBackend/2007-07-11-PackedStruct.ll new file mode 100644 index 0000000..c8bfdd6 --- /dev/null +++ b/test/CodeGen/CBackend/2007-07-11-PackedStruct.ll @@ -0,0 +1,9 @@ +; RUN: llc < %s -march=c | grep {packed} + + %struct.p = type <{ i16 }> + +define i32 @main() { +entry: + %t = alloca %struct.p, align 2 + ret i32 5 +} |