File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 55// CHECK: error: #pragma mc_func is not supported
66
77// Cases where no errors occur.
8- // RUN: %clang --target=powerpc64-ibm-aix -fno-err-pragma-mc-func-aix -c -S %s
9- // RUN: %clang --target=powerpc64-ibm-aix -ferr-pragma-mc-func-aix -c -S \
8+ // RUN: %clang --target=powerpc64-ibm-aix -fno-err-pragma-mc-func-aix -fsyntax-only %s
9+ // RUN: %clang --target=powerpc64-ibm-aix -ferr-pragma-mc-func-aix -fsyntax-only \
1010// RUN: -fno-err-pragma-mc-func-aix %s
11- // RUN: %clang --target=powerpc64-ibm-aix -c -S %s
11+ // RUN: %clang --target=powerpc64-ibm-aix -fsyntax-only %s
1212// RUN: %clang --target=powerpc64-ibm-aix -Werror=unknown-pragmas \
13- // RUN: -fno-err-pragma-mc-func-aix -c -S %s
13+ // RUN: -fno-err-pragma-mc-func-aix -fsyntax-only %s
1414
1515// Cases where we have errors or warnings.
1616// RUN: not %clang --target=powerpc64le-unknown-linux-gnu \
17- // RUN: -Werror=unknown-pragmas -fno-err-pragma-mc-func-aix -c -S %s 2>&1 | \
17+ // RUN: -Werror=unknown-pragmas -fno-err-pragma-mc-func-aix -fsyntax-only %s 2>&1 | \
1818// RUN: FileCheck --check-prefix=UNUSED %s
1919// RUN: %clang --target=powerpc64le-unknown-linux-gnu \
20- // RUN: -fno-err-pragma-mc-func-aix -c -S %s 2>&1 | \
20+ // RUN: -fno-err-pragma-mc-func-aix -fsyntax-only %s 2>&1 | \
2121// RUN: FileCheck --check-prefix=UNUSED %s
2222
2323// UNUSED: clang: warning: argument unused during compilation: '-fno-err-pragma-mc-func-aix' [-Wunused-command-line-argument]
You can’t perform that action at this time.
0 commit comments