SimplifyCFG: don't remove unreachable default switch destinations
[oota-llvm.git] / test / MC / ARM / directive-word-diagnostics.s
1 @ RUN: not llvm-mc -triple armv7-eabi -filetype asm -o /dev/null 2>&1 %s \
2 @ RUN:   | FileCheck %s
3
4         .cpu armv7
5
6         .type double_diagnostics,%function
7 double_diagnostics:
8         .word invalid(invalid) + 32
9
10 @ CHECK: error: invalid variant 'invalid'
11 @ CHECK-NOT: error: unexpected token at start of statement
12