1 @ RUN: not llvm-mc -triple=armv7-unknown-linux-gnueabi < %s 2> %t
2 @ RUN: FileCheck --check-prefix=CHECK < %t %s
4 @ Check the diagnostics for .pad directive.
10 @-------------------------------------------------------------------------------
11 @ TEST1: .pad before .fnstart
12 @-------------------------------------------------------------------------------
17 @ CHECK: error: .fnstart must precede .pad directive
26 @-------------------------------------------------------------------------------
27 @ TEST2: .pad after .handlerdata
28 @-------------------------------------------------------------------------------
36 @ CHECK: error: .pad must precede .handlerdata directive