xref: /minix3/external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-alias.s (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1# RUN: llvm-mc -filetype=obj -triple mipsel-unknown-linux -mcpu=mips32 %s -o - \
2# RUN:   | llvm-readobj -t | FileCheck %s
3
4# Symbol bar must be marked as micromips.
5# CHECK: Name: bar
6# CHECK: Other: 128
7  .align 2
8  .type  f,@function
9  .set   nomips16
10  .set   micromips
11f:
12  nop
13  .set   nomicromips
14  nop
15  .globl bar
16bar = f
17