Heuristic: If the number of operands in the alias are more than the number of
[llvm/stm8.git] / test / MC / ELF / bracket-exprs.s
blob96f9f9aa450aa61968eb6fdbae09918fbf6aed17
1 // RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
3 // CHECK: .byte 1
4 .if [~0 >> 1] == -1
5 .byte 1
6 .else
7 .byte 2
8 .endif
10 // CHECK: .byte 3
11 .if 4 * [4 + (3 + [2 * 2] + 1)] == 48
12 .byte 3
13 .else
14 .byte 4
15 .endif