16 lines · plain
1; RUN: llvm-as -o %t0 %s2; RUN: cp %t0 %t13; RUN: llvm-dis %t0 %t14; RUN: FileCheck %s < %t0.ll5; RUN: FileCheck %s < %t1.ll6 7; Test that if we disassemble the same bitcode twice, the type names are8; unchanged between the two. This protects against a bug whereby state was9; preserved across inputs and the types ended up with different names.10 11; CHECK: %Foo = type { ptr }12%Foo = type { ptr }13 14; CHECK: @foo = global %Foo zeroinitializer15@foo = global %Foo zeroinitializer16