llvm/test/CodeGen/XCore/section-name.ll
Evgeniy Stepanov 89efd71a88 Disallow redefinition of section symbols.
Differential Revision: https://reviews.llvm.org/D30235

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296180 91177308-0d34-0410-b5e6-96231b3b80d8
2017-02-24 21:44:58 +00:00

10 lines
188 B
LLVM

; RUN: not llc < %s -march=xcore 2>&1 | FileCheck %s
@bar = internal global i32 zeroinitializer
define void @".dp.bss"() {
ret void
}
; CHECK: LLVM ERROR: invalid symbol redefinition