14 lines · plain
1# RUN: export LSAN_OPTIONS=detect_leaks=02# RUN: not llvm-mc -triple x86_64 %s -o /dev/null 2>&1 | FileCheck %s3 4## This also tests that we don't assert due to an active macro instantiation.5# CHECK: <instantiation>:4:1: error: unmatched .ifs or .elses6 7 .macro macro parameter=08 .if \parameter9 .else10 .endm11 12 macro 113 14