llvm-for-llvmta/test/MC/AsmParser/purgem.s

13 lines
218 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc -triple i386-unknown-unknown %s 2>&1 | FileCheck %s
.macro foo
.err
.endm
.purgem bar
# CHECK: error: macro 'bar' is not defined
.purgem foo
foo
# CHECK: error: invalid instruction mnemonic 'foo'