Skip to content

Commit

Permalink
[NFC] changes all run lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Chen Zheng committed Jul 23, 2024
1 parent 786b491 commit b830790
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions clang/test/Preprocessor/pragma_mc_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
// CHECK: error: #pragma mc_func is not supported

// Cases where no errors occur.
// RUN: %clang --target=powerpc64-ibm-aix -fno-err-pragma-mc-func-aix -c -S %s
// RUN: %clang --target=powerpc64-ibm-aix -ferr-pragma-mc-func-aix -c -S \
// RUN: %clang --target=powerpc64-ibm-aix -fno-err-pragma-mc-func-aix -fsyntax-only %s
// RUN: %clang --target=powerpc64-ibm-aix -ferr-pragma-mc-func-aix -fsyntax-only \
// RUN: -fno-err-pragma-mc-func-aix %s
// RUN: %clang --target=powerpc64-ibm-aix -c -S %s
// RUN: %clang --target=powerpc64-ibm-aix -fsyntax-only %s
// RUN: %clang --target=powerpc64-ibm-aix -Werror=unknown-pragmas \
// RUN: -fno-err-pragma-mc-func-aix -c -S %s
// RUN: -fno-err-pragma-mc-func-aix -fsyntax-only %s

// Cases where we have errors or warnings.
// RUN: not %clang --target=powerpc64le-unknown-linux-gnu \
// RUN: -Werror=unknown-pragmas -fno-err-pragma-mc-func-aix -c -S %s 2>&1 | \
// RUN: -Werror=unknown-pragmas -fno-err-pragma-mc-func-aix -fsyntax-only %s 2>&1 | \
// RUN: FileCheck --check-prefix=UNUSED %s
// RUN: %clang --target=powerpc64le-unknown-linux-gnu \
// RUN: -fno-err-pragma-mc-func-aix -c -S %s 2>&1 | \
// RUN: -fno-err-pragma-mc-func-aix -fsyntax-only %s 2>&1 | \
// RUN: FileCheck --check-prefix=UNUSED %s

// UNUSED: clang: warning: argument unused during compilation: '-fno-err-pragma-mc-func-aix' [-Wunused-command-line-argument]

0 comments on commit b830790

Please sign in to comment.