From 2c313d9915b10da529347668cf4880f6194e09ff Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 3 Dec 2022 07:49:41 -0500 Subject: [PATCH] [loongarch] fix syntax error in script At least on macOS with zsh, the test failed with line 1: syntax error near unexpected token `&' previously. --- llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s b/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s index 07860df..60fd145 100644 --- a/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s +++ b/llvm/test/MC/LoongArch/Relocations/reloc-directive-err.s @@ -1,4 +1,4 @@ -# RUN: llvm-mc --triple=loongarch64 %s |& FileCheck --check-prefix=PRINT %s +# RUN: llvm-mc --triple=loongarch64 %s | FileCheck --check-prefix=PRINT %s # RUN: not llvm-mc --filetype=obj --triple=loongarch64 %s -o /dev/null 2>&1 \ # RUN: | FileCheck %s -- 2.7.4