SimplifyCFG: don't remove unreachable default switch destinations
[oota-llvm.git] / test / MC / ARM / eh-directive-fnend-diagnostics.s
1 @ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
2 @ RUN:   -filetype=obj -o /dev/null 2>&1 | FileCheck %s
3
4 @ Check the diagnostics for mismatched .fnend directive
5
6
7         .syntax unified
8         .text
9
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:        ^