22 lines · plain
1// RUN: not llvm-mc %s -triple=aarch64-none-linux-gnu -filetype asm -o - 2>&1 \2// RUN: | FileCheck -check-prefix CHECK-ERROR %s3 4 .align 25 .global diagnostics6 .type diagnostics,%function7diagnostics:8.Label:9 .inst10// CHECK: [[@LINE-1]]:5: error: expected expression following '.inst' directive 11 12 .inst 0x5e104020,13// CHECK: [[@LINE-1]]:22: error: unknown token in expression in '.inst' directive14 15 .inst .Label16// CHECK: [[@LINE-1]]:11: error: expected constant expression in '.inst' directive17 18 .inst 0x5e104020 0x5e10402019// CHECK: [[@LINE-1]]:22: error: unexpected token in '.inst' directive20 21// CHECK-ERROR-NOT: unexpected token at start of statement 22