hanchenye-llvm-project/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll

7 lines
192 B
LLVM

; RUN: llvm-as < %s | opt -strip | llvm-dis | llvm-as | llvm-dis
; Stripping the name from A should not break references to it.
%A = type opaque
@g1 = external global %A
@g2 = global %A* @g1