Skip to content

Commit

Permalink
[Clang][LoongArch] Add '-o /dev/null' to a test that does not care ab…
Browse files Browse the repository at this point in the history
…out 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.
  • Loading branch information
gribozavr committed Aug 9, 2023
1 parent b5c2a19 commit d64c363
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGen/LoongArch/intrinsic-la32-error.c
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit d64c363

Please sign in to comment.