1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 07:22:55 +01:00
llvm-mirror/test/Regression/Linker/2002-08-20-ConstantExpr.ll

10 lines
272 B
LLVM
Raw Normal View History

; 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 int 4
2003-01-23 20:52:48 +01:00
%test = global int* getelementptr( int* %work, long 1)