31 lines · plain
1# RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 2>%t12# RUN: FileCheck %s < %t13 4# Check only one error per statement.5 6 .text7 .set pop8# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push9# CHECK-NOT: :[[@LINE-1]]:10 .set push11 .set pop12 .set pop13# CHECK: :[[@LINE-1]]:14: error: .set pop with no .set push14# CHECK-NOT: :[[@LINE-1]]:15 .set push foo16# CHECK: :[[@LINE-1]]:19: error: unexpected token, expected end of statement17# CHECK-NOT: :[[@LINE-1]]:18 .set pop bar19# CHECK: :[[@LINE-1]]:18: error: unexpected token, expected end of statement20# CHECK-NOT: :[[@LINE-1]]:21 .set hardfloat22 .set push23 .set softfloat24 add.s $f2, $f2, $f225# CHECK: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled26# CHECK-NOT: :[[@LINE-1]]:27 .set pop28 add.s $f2, $f2, $f229# CHECK-NOT: :[[@LINE-1]]:9: error: instruction requires a CPU feature not currently enabled30# CHECK-NOT: :[[@LINE-1]]:31