1 # RUN: not llvm-mc %s -triple=mips-unknown-linux 2>%t0 | FileCheck %s
2 # RUN: FileCheck -check-prefix=ERROR %s < %t0
3 # Check that using the assembler temporary when .set noat is in effect is an error.
5 # We start with the assembler temporary enabled
8 # CHECK: addu $1, $1, $2
13 # FIXME: It would be better if the error pointed at the mnemonic instead of the newline
14 # ERROR: mips-noat.s:[[@LINE+4]]:1: error: Pseudo instruction requires $at, which is not available
19 # Can we switch it back on successfully?
22 # CHECK: addu $1, $1, $2
28 # FIXME: It would be better if the error pointed at the mnemonic instead of the newline
29 # ERROR: mips-noat.s:[[@LINE+4]]:1: error: Pseudo instruction requires $at, which is not available