[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / directive-word-diagnostics.s
blobe68595b7787898b8c998856fe50abd00209ea000
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN: | FileCheck %s
4 .cpu armv7
6 .type double_diagnostics,%function
7 double_diagnostics:
8 .word invalid(invalid) + 32
10 @ CHECK: error: invalid variant 'invalid'
11 @ CHECK-NOT: error: unexpected token at start of statement