blob: f93c054dec7bf266f379ba1eb8a8368cb3d7c94c [file] [log] [blame]
Reid Spencer6c38d942007-04-15 18:11:57 +00001; Linking a module with a specified pointer size to one without a
Chris Lattner34c7cee2003-08-24 19:23:31 +00002; specified pointer size should not cause a warning!
3
John Criswellac2595a02003-09-26 20:20:44 +00004; RUN: llvm-as < %s > %t.out1.bc
Reid Spencer6c38d942007-04-15 18:11:57 +00005; RUN: echo {} | llvm-as > %t.out2.bc
6; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning
Chris Lattner34c7cee2003-08-24 19:23:31 +00007
Reid Spencer6c38d942007-04-15 18:11:57 +00008target datalayout = "e-p:64:64"
Chris Lattner34c7cee2003-08-24 19:23:31 +00009