1# RUN: llvm-mc -arch=mips -mcpu=mips32 -filetype=obj %s -o - | \
2# RUN:   llvm-readobj --symbols - | FileCheck %s
3
4# Check that the assembler doesn't choke on .align between a symbol and the
5# .end directive.
6
7	.text
8	.globl	a
9	.p2align	2
10	.type	a,@function
11	.ent	a
12a:
13	addu	$2, $5, $4
14	.align 4
15	jr	$ra
16	.end	a
17$func_end0:
18	.size	a, ($func_end0)-a
19
20# CHECK: Name: a
21# CHECK-NEXT: Value: 0x0
22# CHECK-NEXT: Size: 24
23