1 ; RUN: llvm-as -o %t0 %s
3 ; RUN: llvm-dis %t0 %t1
4 ; RUN: FileCheck %s < %t0.ll
5 ; RUN: FileCheck %s < %t1.ll
7 ; Test that if we disassemble the same bitcode twice, the type names are
8 ; unchanged between the two. This protects against a bug whereby state was
9 ; preserved across inputs and the types ended up with different names.
11 ; CHECK: %Foo = type { ptr }
14 ; CHECK: @foo = global %Foo zeroinitializer
15 @foo = global %Foo zeroinitializer