make the asmparser reject function and type redefinitions. 'Merging' hasn't been

needed since llvm-gcc 3.4 days.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133248 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2011-06-17 07:06:44 +00:00
parent 424545e950
commit d589099eec
24 changed files with 5 additions and 120 deletions

View File

@@ -1,9 +0,0 @@
; Test to make sure that the 'internal' tag is not lost!
;
; RUN: llvm-as < %s | llvm-dis | grep internal
declare void @foo()
define internal void @foo() {
ret void
}

View File

@@ -1,7 +0,0 @@
; RUN: llvm-as %s -o /dev/null
declare i32 @"ArrayRef"([100 x i32] * %Array)
define i32 @"ArrayRef"([100 x i32] * %Array) {
ret i32 0
}

View File

@@ -1,9 +0,0 @@
; Test to make sure that the 'private' tag is not lost!
;
; RUN: llvm-as < %s | llvm-dis | grep private
declare void @foo()
define private void @foo() {
ret void
}