# RUN: not llvm-mc -triple=mips -mcpu=mips32r5 < %s 2>&1 | FileCheck %s

# CHECK: error: .module directive must appear before any code
  .set  nomips16
  .module mt
  nop
