diff options
Diffstat (limited to 'clang/test/CodeGen/debug-info-compilation-dir.c')
-rw-r--r-- | clang/test/CodeGen/debug-info-compilation-dir.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clang/test/CodeGen/debug-info-compilation-dir.c b/clang/test/CodeGen/debug-info-compilation-dir.c index 4ffa1552cad..4b472991498 100644 --- a/clang/test/CodeGen/debug-info-compilation-dir.c +++ b/clang/test/CodeGen/debug-info-compilation-dir.c @@ -1,4 +1,6 @@ -// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -g %s -o - | \ -// RUN: grep nonsense +// RUN: %clang_cc1 -fdebug-compilation-dir /nonsense -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-NONSENSE %s +// CHECK-NONSENSE: nonsense + +// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck -check-prefix=CHECK-DIR %s +// CHECK-DIR: CodeGen -// RUN: %clang_cc1 -emit-llvm -g %s -o - | grep %S |