linux-packaging-mono/external/llvm-project/llvm/test/MC/ARM/eh-directive-fnend-diagnostics.s
Xamarin Public Jenkins (auto-signing) 468663ddbb Imported Upstream version 6.10.0.49
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
2020-01-16 16:38:04 +00:00

18 lines
358 B
ArmAsm

@ RUN: not 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: ^