aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/hidden.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Transforms/GlobalOpt/hidden.ll')
-rw-r--r--test/Transforms/GlobalOpt/hidden.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/Transforms/GlobalOpt/hidden.ll b/test/Transforms/GlobalOpt/hidden.ll
deleted file mode 100644
index 301e158..0000000
--- a/test/Transforms/GlobalOpt/hidden.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: opt %s -globalopt -S | FileCheck %s
-
-@foo = linkonce_odr unnamed_addr constant i32 42
-; CHECK: @foo = linkonce_odr hidden unnamed_addr constant i32 42
-
-define linkonce_odr void @bar() unnamed_addr {
-; CHECK: define linkonce_odr hidden void @bar() unnamed_addr {
- ret void
-}
-
-define i32* @zed() {
- call void @bar()
- ret i32* @foo
-}