blob: 3a9d0511d7f707bfaeda1fae7326a130fc724619 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
2; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
3; RUN: diff %t1.ll %t2.ll
4
5@X = global i19 4, align 16
6
7define i19 *@test() align 32 {
8 %X = alloca i19, align 4
9 %Y = alloca i51, i32 42, align 16
Chris Lattner44f69f52009-01-05 08:14:35 +000010 %Z = alloca i32, align 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +000011 ret i19 *%X
12}
13
14define i19 *@test2() {
15 %X = malloc i19, align 4
16 %Y = malloc i51, i32 42, align 16
Chris Lattner44f69f52009-01-05 08:14:35 +000017 %Z = malloc i32, align 1
Dan Gohmanf17a25c2007-07-18 16:29:46 +000018 ret i19 *%X
19}
20
21