1@ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
2@ RUN:   -filetype=obj -o /dev/null 2>&1 | FileCheck %s
3
4@ Check the diagnostics for mismatched .fnend directive
5
6
7	.syntax unified
8	.text
9
10	.globl	func1
11	.align	2
12	.type	func1,%function
13func1:
14	.fnend
15@ CHECK: error: .fnstart must precede .fnend directive
16@ CHECK:        .fnend
17@ CHECK:        ^
18