aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/conditional_asm.s
blob: b9ff6705900bb2829aa75ebe708027dfca992728 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# RUN: llvm-mc -triple i386-unknown-unknown %s -I  %p | FileCheck %s

# CHECK: .byte (1 + 1)
.if 1+2
    .if 1-1
        .byte 1
    .elseif 2+2
        .byte 1+1
    .else
        .byte 0
    .endif
.endif