# 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'
# 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'