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-ERROR: expected expression following directive 11 12 .inst 0x5e104020, 13// CHECK-ERROR: expected expression 14 15 .inst .Label 16// CHECK-ERROR: expected constant expression 17 18 .inst 0x5e104020 0x5e104020 19// CHECK-ERROR: unexpected token in directive 20