[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AsmParser / altmacro_string_escape.s
blobbcc9e845953eeb338c83f40383dc3ef8320b92de
1 # RUN: llvm-mc -triple i386-linux-gnu %s| FileCheck %s
3 .altmacro
4 # single-character string escape
5 # To include any single character literally in a string
6 # (even if the character would otherwise have some special meaning),
7 # you can prefix the character with `!'.
8 # For example, you can write `<4.3 !> 5.4!!>' to get the literal text `4.3 > 5.4!'.
10 # CHECK: workForFun:
11 .macro fun1 number
12 .if \number=5
13 lableNotWork:
14 .else
15 workForFun:
16 .endif
17 .endm
19 # CHECK: workForFun2:
20 .macro fun2 string
21 .if \string
22 workForFun2:
23 .else
24 notworkForFun2:
25 .endif
26 .endm
28 fun1 <5!!>
29 fun2 <5!>4>