summaryrefslogtreecommitdiffstats
path: root/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll
blob: cefd78cc1daee13c47f3659d2a65aa229cdfb35b (plain)
1
2
3
4
5
6
7
; RUN: opt < %s -strip -S | llvm-as | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order -num-shuffles=5

; Stripping the name from A should not break references to it.
%A = type opaque
@g1 = external global %A
@g2 = global %A* @g1
OpenPOWER on IntegriCloud