repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git]
/
test
/
MC
/
AsmParser
/
ifndef.s
blob
d9c9c5457a700b769ed0b7f2ee36d1ed09370bc6
1
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
3
# CHECK: .byte 1
4
# CHECK-NOT: byte 0
5
.ifndef undefined
6
.byte 1
7
.else
8
.byte 0
9
.endif
10
11
defined
:
12
13
# CHECK-NOT: byte 0
14
# CHECK: .byte 1
15
.ifndef defined
16
.byte 0
17
.else
18
.byte 1
19
.endif
20
21
movl
%
eax
,
undefined
22
23
# CHECK: .byte 1
24
# CHECK-NOT: byte 0
25
.ifndef undefined
26
.byte 1
27
.else
28
.byte 0
29
.endif