summaryrefslogtreecommitdiff
path: root/test/MC/ARM/eh-directive-fnend-diagnostics.s
blob: a5e4d3bf5b2ced1bfe09afe5cb75625c6c025bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
@ RUN:   -filetype=obj -o /dev/null 2>&1 | FileCheck %s

@ Check the diagnostics for mismatched .fnend directive


	.syntax unified
	.text

	.globl	func1
	.align	2
	.type	func1,%function
func1:
	.fnend
@ CHECK: error: .fnstart must precede .fnend directive
@ CHECK:        .fnend
@ CHECK:        ^