diff options
Diffstat (limited to 'test/Assembler/2009-02-28-StripOpaqueName.ll')
-rw-r--r-- | test/Assembler/2009-02-28-StripOpaqueName.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Assembler/2009-02-28-StripOpaqueName.ll b/test/Assembler/2009-02-28-StripOpaqueName.ll new file mode 100644 index 000000000000..eef5d3614a81 --- /dev/null +++ b/test/Assembler/2009-02-28-StripOpaqueName.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | opt -strip | llvm-dis | llvm-as | llvm-dis + +; Stripping the name from A should not break references to it. +%A = type opaque +@g1 = external global %A +@g2 = global %A* @g1 |