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