xref: /llvm-project/llvm/test/MC/Mips/mt/module-directive-invalid.s (revision 252c42354eca54274ed7b10c32c73c6937478e8b)
1# RUN: not llvm-mc -triple=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