mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
041ba82959
Summary: Diagnose empty symbol to avoid hitting assertion in MCContext::getOrCreateSymbol Reviewers: eli.friedman, rengolin Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D26728 llvm-svn: 288390
11 lines
235 B
ArmAsm
11 lines
235 B
ArmAsm
// RUN: not llvm-mc -n -triple i386-unknown-unknown %s 2> %t
|
|
// RUN: FileCheck < %t %s
|
|
|
|
.equ a, 0
|
|
.set a, 1
|
|
.equ a, 2
|
|
.equiv a, 3
|
|
.set b, ""
|
|
// CHECK: error: redefinition of 'a'
|
|
// CHECK: error: missing expression in '.set' directive
|