llvm-for-llvmta/test/Assembler/2009-02-28-StripOpaqueName.ll

8 lines
204 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: opt < %s -strip -S | llvm-as | llvm-dis
; RUN: verify-uselistorder %s
; Stripping the name from A should not break references to it.
%A = type opaque
@g1 = external global %A
@g2 = global %A* @g1