summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/AsmParser/equ.s
blob: fc5d531030567e63f44c775bfb073549eaec2d87 (plain)
1
2
3
4
5
6
7
8
9
10
// 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
OpenPOWER on IntegriCloud