X86: produce more friendly errors during MachO relocation handling
[oota-llvm.git] / test / MC / Mips / set-nodsp.s
1 # RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dsp -triple mips-unknown-linux 2>%t1
2 # RUN: FileCheck %s < %t1
3
4   lbux    $7, $10($11)
5
6   .set nodsp
7   lbux    $6, $10($11)
8   # CHECK: error: instruction requires a CPU feature not currently enabled
9
10   .set dsp
11   lbux    $5, $10($11)
12   # CHECK-NOT: error: instruction requires a CPU feature not currently enabled