projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Restore r125595 (reverted in r126336) with modifications:
[oota-llvm.git]
/
test
/
MC
/
ELF
/
bracket-exprs.s
1
// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
2
// RUN: llvm-mc -triple arm-unknown-linux %s | FileCheck %s
3
4
// CHECK: .byte 1
5
.if [~0 >> 1] == -1
6
.byte 1
7
.else
8
.byte 2
9
.endif
10
11
// CHECK: .byte 3
12
.if 4 * [4 + (3 + [2 * 2] + 1)] == 48
13
.byte 3
14
.else
15
.byte 4
16
.endif