[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / ARM / variant-diagnostics.s
blob535ee2686f181265f750a9299492a95321d334e3
1 @ RUN: not llvm-mc -triple armv7-linux-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN: | FileCheck %s
4 .arch armv7
6 .type invalid_variant,%function
7 invalid_variant:
8 bx target(invalid)
10 @ CHECK: error: invalid variant 'invalid'
11 @ CHECK: bx target(invalid)
12 @ CHECK: ^