1// RUN: not llvm-mc %s -triple=aarch64-none-linux-gnu -filetype asm -o - 2>&1 \ 2// RUN: | FileCheck -check-prefix CHECK-ERROR %s 3 4 .align 2 5 .global diagnostics 6 .type diagnostics,%function 7diagnostics: 8.Label: 9 .inst 10// 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' directive 14 15 .inst .Label 16// CHECK: [[@LINE-1]]:11: error: expected constant expression in '.inst' directive 17 18 .inst 0x5e104020 0x5e104020 19// CHECK: [[@LINE-1]]:22: error: unexpected token in '.inst' directive 20 21// CHECK-ERROR-NOT: unexpected token at start of statement 22