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@ CHECK: ^ 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 .type alpha,%function 45alpha: 46 nop 47 48 .type beta,%function 49beta: 50 bkpt 51 52 .thumb_set beta, alpha 53 54@ CHECK: error: redefinition of 'beta' 55@ CHECK: .thumb_set beta, alpha 56@ CHECK: ^ 57 58 .type recursive_use,%function 59 .thumb_set recursive_use, recursive_use + 1 60 61@ CHECK: error: Recursive use of 'recursive_use' 62@ CHECK: .thumb_set recursive_use, recursive_use + 1 63@ CHECK: ^ 64 65 variable_result = alpha + 1 66 .long variable_result 67 .thumb_set variable_result, 1 68 69@ CHECK: error: invalid reassignment of non-absolute variable 'variable_result' 70@ CHECK: .thumb_set variable_result, 1 71@ CHECK: ^