; RUN: opt < %s -passes=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 ptr @g1
; RUN: opt < %s -passes=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 ptr @g1