summaryrefslogtreecommitdiffstats
path: root/llvm/test/LTO/cfi_endproc.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/LTO/cfi_endproc.ll')
-rw-r--r--llvm/test/LTO/cfi_endproc.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/LTO/cfi_endproc.ll b/llvm/test/LTO/cfi_endproc.ll
index d8818d226e0..a5cc649fc86 100644
--- a/llvm/test/LTO/cfi_endproc.ll
+++ b/llvm/test/LTO/cfi_endproc.ll
@@ -29,6 +29,9 @@ define i32 @main(i32 %argc, i8** %argv) {
; RUN: llvm-nm %t | FileCheck %s -check-prefix=ZED1_AND_ZED2
; ZED1_AND_ZED2: V zed1
@zed1 = linkonce_odr global i32 42
+define i32* @get_zed1() {
+ ret i32* @zed1
+}
; ZED1_AND_ZED2: d zed2
@zed2 = linkonce_odr unnamed_addr global i32 42
OpenPOWER on IntegriCloud