X86: support fpext/fptrunc operations to and from 16-bit floats.
[oota-llvm.git] / test / Other / extract.ll
index 46962d094fdbf8595bd123a14b0425ace98bb33e..8b0c835d574660be93f29f29c45bcb72e48adfd8 100644 (file)
@@ -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
 }