X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FOther%2Fextract.ll;h=8b0c835d574660be93f29f29c45bcb72e48adfd8;hb=55ec2218c448ef9e0d09b5534885b6d2a9786a73;hp=46962d094fdbf8595bd123a14b0425ace98bb33e;hpb=be2d4e77b5312b8cdaee4b83810cdd98ef9abcda;p=oota-llvm.git diff --git a/test/Other/extract.ll b/test/Other/extract.ll index 46962d094fd..8b0c835d574 100644 --- a/test/Other/extract.ll +++ b/test/Other/extract.ll @@ -7,16 +7,22 @@ ; llvm-extract uses lazy bitcode loading, so make sure it correctly reads ; from bitcode files in addition to assembly files. -; CHECK: define void @foo() { +; CHECK: define hidden void @foo() { ; CHECK: ret void ; CHECK: } + +; The private linkage for foo() should be changed to external linkage and +; hidden visibility added. +; DELETE: declare hidden void @foo() ; DELETE: define void @bar() { +; DELETE: call void @foo() ; DELETE: ret void ; DELETE: } -define void @foo() { +define private void @foo() { ret void } define void @bar() { + call void @foo() ret void }