mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
a6677bea10
It's possible to have a prior definition of a symbol in module asm. Raise an error instead of crashing. llvm-svn: 224828
9 lines
237 B
LLVM
9 lines
237 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 var, __var"
|
|
|
|
@var = global i32 0
|
|
; CHECK: symbol 'var' is already defined
|