File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
// CHECK: error: #pragma mc_func is not supported
6
6
7
7
// 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 \
10
10
// 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
12
12
// 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
14
14
15
15
// Cases where we have errors or warnings.
16
16
// 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 | \
18
18
// RUN: FileCheck --check-prefix=UNUSED %s
19
19
// 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 | \
21
21
// RUN: FileCheck --check-prefix=UNUSED %s
22
22
23
23
// 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