1# RUN: not llvm-mc -triple x86_64 %s -o /dev/null 2>&1 | FileCheck %s
2
3## This also tests that we don't assert due to an active macro instantiation.
4# CHECK: <instantiation>:4:1: error: unmatched .ifs or .elses
5
6	.macro macro parameter=0
7		.if \parameter
8		.else
9	.endm
10
11	macro 1
12
13