1*9880d681SAndroid Build Coastguard Worker// RUN: not llvm-mc %s -triple=aarch64-none-linux-gnu -filetype asm -o - 2>&1 \ 2*9880d681SAndroid Build Coastguard Worker// RUN: | FileCheck -check-prefix CHECK-ERROR %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker .align 2 5*9880d681SAndroid Build Coastguard Worker .global diagnostics 6*9880d681SAndroid Build Coastguard Worker .type diagnostics,%function 7*9880d681SAndroid Build Coastguard Workerdiagnostics: 8*9880d681SAndroid Build Coastguard Worker.Label: 9*9880d681SAndroid Build Coastguard Worker .inst 10*9880d681SAndroid Build Coastguard Worker// CHECK-ERROR: expected expression following directive 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker .inst 0x5e104020, 13*9880d681SAndroid Build Coastguard Worker// CHECK-ERROR: expected expression 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker .inst .Label 16*9880d681SAndroid Build Coastguard Worker// CHECK-ERROR: expected constant expression 17*9880d681SAndroid Build Coastguard Worker 18*9880d681SAndroid Build Coastguard Worker .inst 0x5e104020 0x5e104020 19*9880d681SAndroid Build Coastguard Worker// CHECK-ERROR: unexpected token in directive 20