1# RUN: not llvm-mc -arch=mips -mcpu=mips32r5 < %s 2>&1 | FileCheck %s
2
3# CHECK: error: .module directive must appear before any code
4  .set  nomips16
5  .module mt
6  nop
7