llvm-for-llvmta/test/MC/ARM/eh-directive-fnend-diagnost...

18 lines
358 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
@ 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: ^