mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-01 04:29:57 +00:00
It's possible to have a prior definition of a symbol in module asm. Raise an error instead of crashing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224828 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
262 B
LLVM
11 lines
262 B
LLVM
; RUN: not llc < %s 2>&1 | FileCheck %s
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
target triple = "x86_64-unknown-linux-gnu"
|
|
|
|
module asm ".equiv pselect, __pselect"
|
|
|
|
define void @pselect() {
|
|
ret void
|
|
}
|
|
; CHECK: 'pselect' is a protected alias
|