1# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
2# RUN:   -mattr=+micromips -filetype=obj -o - | llvm-readobj -t | FileCheck %s
3  .text
4  .set nomicromips
5f:
6  nop
7g:
8  .set micromips
9  nop
10h:
11  .word 0
12i:
13  nop
14j:
15  .set nomicromips
16  nop
17# CHECK: Symbols [
18# CHECK:   Symbol {
19# CHECK:     Name: f
20# CHECK:     Binding: Local
21# CHECK:     Type: None
22# CHECK:     Other: 0
23# CHECK:     Section: .text
24# CHECK:   }
25# CHECK:   Symbol {
26# CHECK:     Name: g
27# CHECK:     Binding: Local
28# CHECK:     Type: None
29# CHECK:     Other: 128
30# CHECK:     Section: .text
31# CHECK:   }
32# CHECK:   Symbol {
33# CHECK:     Name: h
34# CHECK:     Binding: Local
35# CHECK:     Type: None
36# CHECK:     Other: 0
37# CHECK:     Section: .text
38# CHECK:   }
39# CHECK:   Symbol {
40# CHECK:     Name: i
41# CHECK:     Binding: Local
42# CHECK:     Type: None
43# CHECK:     Other: 128
44# CHECK:     Section: .text
45# CHECK:   }
46# CHECK:   Symbol {
47# CHECK:     Name: j
48# CHECK:     Binding: Local
49# CHECK:     Type: None
50# CHECK:     Other: 0
51# CHECK:     Section: .text
52# CHECK:   }
53# CHECK: ]
54
55