aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/ifnes.s
blob: 7a3cbe0264e1b5fcdde61c440d38557d665067d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s

# CHECK-NOT: .byte 0
# CHECK: .byte 1
.ifnes "foo space", "foo space"
	.byte 0
.else
	.byte 1
.endif

# CHECK-NOT: .byte 0
# CHECK: .byte 1
.ifnes "unequal", "unEqual"
	.byte 1
.else
	.byte 0
.endif

# CHECK-NOT: .byte 0
# CHECK: .byte 1
.ifnes "equal", "equal" ; .byte 0 ; .else ; .byte 1 ; .endif