Add function for testing string attributes to InvokeInst and CallSite. NFC.
[oota-llvm.git] / test / Linker / 2006-01-19-ConstantPacked.ll
index 7aa0bc3db7668ad132cc0650b9078e650ab828a8..5b39cb2ad27912d2e26e4efac239c899894d56c4 100644 (file)
@@ -1,15 +1,10 @@
-; RUN: llvm-upgrade < %s | llvm-as -f -o %s.bc 
-; RUN: llvm-link -f -o %s.linked %s.bc
+; RUN: llvm-as %s -o %t1.bc
+; RUN: llvm-link -o %t2.bc %t1.bc
 
-target endian = big
-target pointersize = 32
+target datalayout = "E-p:32:32"
 target triple = "powerpc-apple-darwin7.7.0"
-deplibs = [ "c", "crtend" ]
-%source = global <4 x int> < int 0, int 1, int 2, int 3 >
+@source = global <4 x i32> < i32 0, i32 1, i32 2, i32 3 >              ; <<4 x i32>*> [#uses=0]
 
-implementation   ; Functions:
-
-int %main() {
-entry:
-        ret int 0
+define i32 @main() {
+  ret i32 0
 }