2002-08-21 03:29:20 +08:00
|
|
|
; This fails linking when it is linked with an empty file as the first object file
|
|
|
|
|
2003-09-16 04:04:28 +08:00
|
|
|
; RUN: llvm-as > %t.LinkTest.bc < /dev/null
|
2008-03-09 16:16:40 +08:00
|
|
|
; RUN: llvm-as < %s > %t.bc
|
2003-09-16 04:04:28 +08:00
|
|
|
; RUN: llvm-link %t.LinkTest.bc %t.bc
|
2002-08-21 03:29:20 +08:00
|
|
|
|
2008-03-09 16:16:40 +08:00
|
|
|
@work = global i32 4 ; <i32*> [#uses=1]
|
2015-03-14 02:20:45 +08:00
|
|
|
@test = global i32* getelementptr (i32, i32* @work, i64 1) ; <i32**> [#uses=0]
|
2002-08-21 03:29:20 +08:00
|
|
|
|