1# RUN: llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 \
2# RUN:   -mattr=+micromips -filetype=obj -o - | llvm-readobj --symbols | FileCheck %s
3  .text
4  .set nomicromips
5f:
6  nop
7g:
8  .set micromips
9  nop
10h:
11  .word 0
12k:
13  .long 0
14l:
15  .hword 0
16m:
17  .2byte 0
18n:
19  .4byte 0
20o:
21  .8byte 0
22i:
23  nop
24j:
25  .set nomicromips
26  nop
27# CHECK: Symbols [
28# CHECK:   Symbol {
29# CHECK:     Name: f
30# CHECK:     Binding: Local
31# CHECK:     Type: None
32# CHECK:     Other: 0
33# CHECK:     Section: .text
34# CHECK:   }
35# CHECK:   Symbol {
36# CHECK:     Name: g
37# CHECK:     Binding: Local
38# CHECK:     Type: None
39# CHECK:     Other [ (0x80)
40# CHECK:       STO_MIPS_MICROMIPS
41# CHECK:     ]
42# CHECK:     Section: .text
43# CHECK:   }
44# CHECK:   Symbol {
45# CHECK:     Name: h
46# CHECK:     Binding: Local
47# CHECK:     Type: None
48# CHECK:     Other: 0
49# CHECK:     Section: .text
50# CHECK:   }
51# CHECK:   Symbol {
52# CHECK:     Name: i
53# CHECK:     Binding: Local
54# CHECK:     Type: None
55# CHECK:     Other [ (0x80)
56# CHECK:       STO_MIPS_MICROMIPS
57# CHECK:     ]
58# CHECK:     Section: .text
59# CHECK:   }
60# CHECK:   Symbol {
61# CHECK:     Name: j
62# CHECK:     Binding: Local
63# CHECK:     Type: None
64# CHECK:     Other: 0
65# CHECK:     Section: .text
66# CHECK:   }
67# CHECK:   Symbol {
68# CHECK:     Name: k
69# CHECK:     Binding: Local
70# CHECK:     Type: None
71# CHECK:     Other: 0
72# CHECK:     Section: .text
73# CHECK:   }
74# CHECK:   Symbol {
75# CHECK:     Name: l
76# CHECK:     Binding: Local
77# CHECK:     Type: None
78# CHECK:     Other: 0
79# CHECK:     Section: .text
80# CHECK:   }
81# CHECK:   Symbol {
82# CHECK:     Name: m
83# CHECK:     Binding: Local
84# CHECK:     Type: None
85# CHECK:     Other: 0
86# CHECK:     Section: .text
87# CHECK:   }
88# CHECK:   Symbol {
89# CHECK:     Name: n
90# CHECK:     Binding: Local
91# CHECK:     Type: None
92# CHECK:     Other: 0
93# CHECK:     Section: .text
94# CHECK:   }
95# CHECK:   Symbol {
96# CHECK:     Name: o
97# CHECK:     Binding: Local
98# CHECK:     Type: None
99# CHECK:     Other: 0
100# CHECK:     Section: .text
101# CHECK:   }
102# CHECK: ]
103