summaryrefslogtreecommitdiff
path: root/test/Linker/type-unique-inheritance.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-09 23:07:58 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-09 23:07:58 +0000
commitd4fc36f2644283c710400adfb0d6ddebea622753 (patch)
treec819157a92f9fab05c992da0f8e5f0df7553b96a /test/Linker/type-unique-inheritance.ll
parente72aba9c0ff5b19128f54b09a36d2f4c2a53b40b (diff)
downloadllvm-d4fc36f2644283c710400adfb0d6ddebea622753.tar.gz
llvm-d4fc36f2644283c710400adfb0d6ddebea622753.tar.bz2
llvm-d4fc36f2644283c710400adfb0d6ddebea622753.tar.xz
Debug Info: In DIBuilder, the context fields of a TAG_inheritance and a
TAG_friend are updated to use scope reference. Added testing cases to verify that class with inheritance can be uniqued. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/type-unique-inheritance.ll')
-rw-r--r--test/Linker/type-unique-inheritance.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Linker/type-unique-inheritance.ll b/test/Linker/type-unique-inheritance.ll
new file mode 100644
index 0000000000..1ba1b08fae
--- /dev/null
+++ b/test/Linker/type-unique-inheritance.ll
@@ -0,0 +1 @@
+; RUN: llvm-link %S/Inputs/type-unique-inheritance-a.ll %S/Inputs/type-unique-inheritance-b.ll -S -o - | FileCheck %S/Inputs/type-unique-inheritance-a.ll