2002-07-24 02:26:48 +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 > %t1.bc < /dev/null
|
|
|
|
; RUN: llvm-as < %s > %t2.bc
|
|
|
|
; RUN: llvm-link %t[12].bc
|
2002-07-24 02:26:48 +08:00
|
|
|
|
|
|
|
%work = global int (int, int)* %zip
|
|
|
|
|
|
|
|
declare int %zip(int, int)
|