Home | History | Annotate | Download | only in ARM
      1 @ RUN: not llvm-mc -triple armv7-eabi -o /dev/null 2>&1 %s | FileCheck %s
      2 
      3 	.syntax unified
      4 
      5 	.thumb
      6 
      7 	.thumb_set
      8 
      9 @ CHECK: error: expected identifier after '.thumb_set'
     10 @ CHECK: 	.thumb_set
     11 @ CHECL:                  ^
     12 
     13 	.thumb_set ., 0x0b5e55ed
     14 
     15 @ CHECK: error: expected identifier after '.thumb_set'
     16 @ CHECK: 	.thumb_set ., 0x0b5e55ed
     17 @ CHECK:                   ^
     18 
     19 	.thumb_set labelled, 0x1abe11ed
     20 	.thumb_set invalid, :lower16:labelled
     21 
     22 @ CHECK: error: unknown token in expression
     23 @ CHECK: 	.thumb_set invalid, :lower16:labelled
     24 @ CHECK:                            ^
     25 
     26 	.thumb_set missing_comma
     27 
     28 @ CHECK: error: expected comma after name 'missing_comma'
     29 @ CHECK: 	.thumb_set missing_comma
     30 @ CHECK:                                ^
     31 
     32 	.thumb_set missing_expression,
     33 
     34 @ CHECK: error: missing expression
     35 @ CHECK: 	.thumb_set missing_expression,
     36 @ CHECK:                                      ^
     37 
     38 	.thumb_set trailer_trash, 0x11fe1e55,
     39 
     40 @ CHECK: error: unexpected token
     41 @ CHECK: 	.thumb_set trailer_trash, 0x11fe1e55,
     42 @ CHECK:                                            ^
     43 
     44