aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/2003-08-24-InheritPtrSize.ll
blob: f93c054dec7bf266f379ba1eb8a8368cb3d7c94c (plain)
1
2
3
4
5
6
7
8
9
; Linking a module with a specified pointer size to one without a 
; specified pointer size should not cause a warning!

; RUN: llvm-as < %s > %t.out1.bc
; RUN: echo {} | llvm-as > %t.out2.bc
; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning

target datalayout = "e-p:64:64"