You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
317 B
10 lines
317 B
4 months ago
|
; This fails linking when it is linked with an empty file as the first object file
|
||
|
|
||
|
; RUN: llvm-as > %t.LinkTest.bc < /dev/null
|
||
|
; RUN: llvm-as < %s > %t.bc
|
||
|
; RUN: llvm-link %t.LinkTest.bc %t.bc
|
||
|
|
||
|
@work = global i32 4 ; <i32*> [#uses=1]
|
||
|
@test = global i32* getelementptr (i32, i32* @work, i64 1) ; <i32**> [#uses=0]
|
||
|
|