mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
93d7286ccd
* Reorganize tests and add coverage * Improve diagnostic testing * Make assert() tests more relevant * Rename tests to macro-* or altmacro-* This is not NFC because a (previously untested) diagnostic message is changed.
13 lines
281 B
ArmAsm
13 lines
281 B
ArmAsm
# RUN: not llvm-mc -triple x86_64 %s -o /dev/null 2>&1 | FileCheck %s
|
|
|
|
## This also tests that we don't assert due to an active macro instantiation.
|
|
# CHECK: <instantiation>:4:1: error: unmatched .ifs or .elses
|
|
|
|
.macro macro parameter=0
|
|
.if \parameter
|
|
.else
|
|
.endm
|
|
|
|
macro 1
|
|
|