1 @ RUN
: not llvm-mc
-triple
=armv7-unknown-linux-gnueabi
< %s
2> %t
2 @ RUN
: FileCheck
< %t %s
4 @ Check the diagnostics for
.vsave directive
6 @
.vsave directive should always come after .fnstart directive
7 @
and before
.handlerdata directive.
12 @
-------------------------------------------------------------------------------
13 @ TEST1
: .vsave before .fnstart
14 @
-------------------------------------------------------------------------------
18 .vsave {d0, d1, d2, d3}
19 @ CHECK
: error
: .fnstart must precede .save or .vsave directives
20 @ CHECK
: .vsave {d0, d1, d2, d3}
28 @
-------------------------------------------------------------------------------
29 @ TEST2
: .vsave after .handlerdata
30 @
-------------------------------------------------------------------------------
37 .vsave {d0, d1, d2, d3}
38 @ CHECK
: error
: .save or .vsave must precede .handlerdata directive
39 @ CHECK
: .vsave {d0, d1, d2, d3}