blob: 5e23eb61d06769b02cfa115e646bc6e5b22e18db [file] [log] [blame]
Dan Gohman0d4bbf22009-08-25 15:38:29 +00001; RUN: llvm-as %s -o /dev/null
Duncan P. N. Exon Smith852e00e2014-07-31 18:46:24 +00002; RUN: verify-uselistorder %s -preserve-bc-use-list-order
Tanya Lattner32f81a52004-11-06 22:07:09 +00003
Tanya Lattner5429dbf2008-02-14 07:57:12 +00004@.LC0 = internal global [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1]
Chris Lattner6e3f31d2002-08-15 17:04:40 +00005
Tanya Lattner5429dbf2008-02-14 07:57:12 +00006define i8* @test() {
7 ret i8* getelementptr ([12 x i8]* @.LC0, i64 0, i64 0)
Chris Lattner6e3f31d2002-08-15 17:04:40 +00008}
9