llvm-6502/test/MC/AsmParser/purgem.s
Benjamin Kramer bc3b27ccd9 AsmParser: Add support for the .purgem directive.
Based on a patch by Team PaX.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156709 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-12 11:21:46 +00:00

13 lines
214 B
ArmAsm

# RUN: not llvm-mc -triple i386-unknown-unknown %s |& FileCheck %s
.macro foo
.err
.endm
.purgem bar
# CHECK: error: macro 'bar' is not defined
.purgem foo
foo
# CHECK: error: invalid instruction mnemonic 'foo'