diff --git a/clang/test/Driver/crash-ir-repro.cpp b/clang/test/Driver/crash-ir-repro.cpp index 1f31a5ca1bb34..fd97e6f0cce11 100644 --- a/clang/test/Driver/crash-ir-repro.cpp +++ b/clang/test/Driver/crash-ir-repro.cpp @@ -1,9 +1,8 @@ // RUN: %clang -S -emit-llvm -o %t.ll %s -// RUN: not %clang -S -DCRASH %s %t.ll 2>&1 | FileCheck %s +// RUN: not %clang -S -DCRASH %s -o %t.ll 2>&1 | FileCheck %s // CHECK: Preprocessed source(s) and associated run script(s) are located at: // CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.cpp -// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.ll // CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.sh #ifdef CRASH