[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / eh-directive-fnend-diagnostics.s
blob99161eec41e6dae8c47ca61322f21bce6cbbfbf1
1 @ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
2 @ RUN: -filetype=obj -o /dev/null 2>&1 | FileCheck %s
4 @ Check the diagnostics for mismatched .fnend directive
7 .syntax unified
8 .text
10 .globl func1
11 .align 2
12 .type func1,%function
13 func1:
14 .fnend
15 @ CHECK: error: .fnstart must precede .fnend directive
16 @ CHECK: .fnend
17 @ CHECK: ^