[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AsmParser / negative_altmacro_string.s
blob81096c6cbdaa11a759da6f0f3d25b239c693477f
1 # RUN: not llvm-mc -triple i386-linux-gnu %s 2>&1 | FileCheck %s
3 # This test checks the altmacro string delimiter '<' and '>'.
4 # In this test we check the '.noaltmacro' directive.
5 # We expect that '.altmacro' and '.noaltmacro' will act as a switch on/off directives to the alternate macro mode.
6 # .noaltmacro returns the format into a regular macro handling.
7 # The default mode is ".noaltmacro".
9 # Test #1: default mode
10 # CHECK: error: unexpected token at start of statement
11 # CHECK-NEXT: <simpleCheck>:
12 .macro simple_check_0 name
13 \name:
14 .endm
16 simple_check_0 <simpleCheck>
19 .altmacro
20 .noaltmacro
22 # Test #2: Switching from alternate mode to default mode
23 # CHECK: error: unexpected token at start of statement
24 # CHECK-NEXT: <simpleCheck1>:
25 .macro simple_check_1 name
26 \name:
27 .endm
29 simple_check_1 <simpleCheck1>