1# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 \
2# RUN:     -mattr=+micromips < /dev/null -o -| llvm-readobj -h | FileCheck \
3# RUN:     -check-prefix=NO-MM %s
4# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
5# RUN:     | llvm-readobj -h | FileCheck %s
6
7# This *MUST* match the output of 'gcc -c' compiled with the same triple.
8# CHECK: Flags [ (0x52001004)
9# NO-MM: Flags [ (0x50001004)
10
11        .set micromips
12f:
13        nop
14