forked from OSchip/llvm-project
Don't assume the clang binary name contains the string "clang".
Also ensure the -cc1 argument is actually part of the clang -cc1 command line rather than some unrelated command line.
This commit is contained in:
parent
10ddb927c1
commit
e0f4dea0d0
|
@ -1,8 +1,8 @@
|
|||
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-extabi %s 2>&1 | \
|
||||
// RUN: FileCheck %s
|
||||
|
||||
// CHECK: {{.*}}clang{{.*}}" "-cc1"
|
||||
// CHECK: "-mabi=vec-extabi"
|
||||
// CHECK: "-cc1"
|
||||
// CHECK-SAME: "-mabi=vec-extabi"
|
||||
|
||||
// RUN: %clang -### -target powerpc-unknown-aix -S -maltivec -mabi=vec-default %s 2>&1 | \
|
||||
// RUN: FileCheck %s --check-prefix=ERROR
|
||||
|
|
Loading…
Reference in New Issue