1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 2>%t1 2# RUN: FileCheck %s < %t1 3 4 .text 5 .set pop 6# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push 7 .set push 8 .set pop 9 .set pop 10# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push 11 .set push foo 12# CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement 13 .set pop bar 14# CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement 15 16 .set hardfloat 17 .set push 18 .set softfloat 19 add.s $f2, $f2, $f2 20# CHECK: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled 21 .set pop 22 add.s $f2, $f2, $f2 23# CHECK-NOT: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled 24