[Clang][LoongArch] Add '-o /dev/null' to a test that does not care about the output

Tests should not write to the CWD because it might not be writeable.
Either use %t, or /dev/null if the test does not check the output.
This commit is contained in:
Dmitri Gribenko 2023-08-09 15:55:37 +02:00
parent b5c2a19fed
commit d64c363f35

View File

@ -1,5 +1,5 @@
// RUN: %clang_cc1 -triple loongarch32 -emit-llvm -S -verify %s -o /dev/null
// RUN: not %clang_cc1 -triple loongarch32 -DFEATURE_CHECK -emit-llvm %s 2>&1 \
// RUN: not %clang_cc1 -triple loongarch32 -DFEATURE_CHECK -emit-llvm %s -o /dev/null 2>&1 \
// RUN: | FileCheck %s
#include <larchintrin.h>