Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / AsmParser / ifdef.s
blob98bff6525b2b62f240ca08e1fe8d00b9a652490c
1 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
3 # CHECK-NOT: .byte 0
4 # CHECK: .byte 1
5 .ifdef undefined
6 .byte 0
7 .else
8 .byte 1
9 .endif
11 defined:
13 # CHECK: .byte 1
14 # CHECK-NOT: .byte 0
15 .ifdef defined
16 .byte 1
17 .else
18 .byte 0
19 .endif
21 movl %eax, undefined
23 # CHECK-NOT: .byte 0
24 # CHECK: .byte 1
25 .ifdef undefined
26 .byte 0
27 .else
28 .byte 1
29 .endif