• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as %s -o %t.o
2
3; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
4; RUN:    --plugin-opt=emit-llvm \
5; RUN:    -shared %t.o -o %t2.o
6; RUN: llvm-dis %t2.o -o - | FileCheck %s
7
8@a = internal unnamed_addr constant i8 42
9
10define i8* @f() {
11  ret i8* @a
12}
13
14; CHECK: @a = internal unnamed_addr constant i8 42
15