[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ARM / eh-directive-fnstart-diagnostics.s
blob11364dee39b0493d09473932a428673f026fbd79
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 the mismatched .fnstart directives.
6 @ There should be some diagnostics when the previous .fnstart is not closed
7 @ by the .fnend directive.
10 .syntax unified
11 .text
13 .globl func1
14 .align 2
15 .type func1,%function
16 .fnstart
17 func1:
18 @ Intentionally miss the .fnend directive
20 .globl func2
21 .align 2
22 .type func2,%function
23 .fnstart
24 @ CHECK: error: .fnstart starts before the end of previous one
25 @ CHECK: .fnstart
26 @ CHECK: ^
27 @ CHECK: note: .fnstart was specified here
28 @ CHECK: .fnstart
29 @ CHECK: ^
30 func2:
31 .fnend