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
16 simple_check_0
<simpleCheck
>
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
29 simple_check_1
<simpleCheck1
>