PR8951: Support for .equiv in integrated assembler, patch by Jörg Sonnenberger!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124467 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nico Weber
2011-01-28 03:04:41 +00:00
parent 40f64cb0de
commit 4c4c732960
2 changed files with 21 additions and 8 deletions

9
test/MC/AsmParser/equ.s Normal file
View File

@@ -0,0 +1,9 @@
// 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
// CHECK: error: redefinition of 'a'