1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null %s 2>&1 \ 2 @ RUN: | FileCheck %s -check-prefix CHECK-EABI 3 4 @ NOTE: this test ensures that both forms are accepted for MachO 5 @ RUN: llvm-mc -triple armv7-darwin -filetype asm -o /dev/null %s 6 7 .syntax unified 8 9 .thumb_func 10 no_suffix: 11 bx lr 12 13 .thumb_func suffix 14 suffix: 15 bx lr 16 17 // CHECK-EABI: error: unexpected token in directive 18 // CHECK-EABI: .thumb_func suffix 19 // CHECK-EABI: ^ 20 21 // CHECK-EABI-NOT: error: invalid instruction 22 23