brintos

brintos / llvm-project-archived public Read only

0
0
Text · 706 B · 3b9059a Raw
13 lines · c
1// RUN: not clang-query -c foo -c bar %s -- | FileCheck %s2// RUN: not clang-query -f %S/Inputs/foo.script %s -- | FileCheck %s3// RUN: not clang-query -f %S/Inputs/nonexistent.script %s -- 2>&1 | FileCheck --check-prefix=CHECK-NONEXISTENT %s4// RUN: not clang-query -c 'file %S/Inputs/nonexistent.script' %s -- 2>&1 | FileCheck --check-prefix=CHECK-NONEXISTENT-FILEQUERY %s5// RUN: not clang-query -c foo -f foo %s -- 2>&1 | FileCheck --check-prefix=CHECK-BOTH %s6 7// CHECK: unknown command: foo8// CHECK-NOT: unknown command: bar9 10// CHECK-NONEXISTENT: cannot open {{.*}}nonexistent.script11// CHECK-NONEXISTENT-FILEQUERY: cannot open {{.*}}nonexistent.script12// CHECK-BOTH: cannot specify both -c and -f13