1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 12:12:47 +01:00
llvm-mirror/test/MC/AArch64/directive-variant_pcs-err.s
Fangrui Song 68c6e43bf6 [AArch64][MC] Remove unneeded "in .xxx directive" from diagnostics
The prevailing style does not add the message. The directive name is not useful
because the next line replicates the error line which includes the directive.
2021-05-23 13:58:16 -07:00

12 lines
332 B
ArmAsm

// RUN: not llvm-mc -triple aarch64-unknown-none-eabi -filetype asm -o - %s 2>&1 | FileCheck %s
// CHECK: [[#@LINE+1]]:13: error: expected symbol name
.variant_pcs
// CHECK: [[#@LINE+1]]:14: error: unknown symbol
.variant_pcs foo
.global foo
// CHECK: [[#@LINE+1]]:18: error: expected newline
.variant_pcs foo bar