Skip to content

Commit a42b8b4

Browse files
committed
Minor fix of reproducer in llvm#165572
1 parent 98b1708 commit a42b8b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/Driver/crash-ir-repro.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
// RUN: %clang -S -emit-llvm -o %t.ll %s
2-
// RUN: not %clang -S -DCRASH %s %t.ll 2>&1 | FileCheck %s
2+
// RUN: not %clang -S -DCRASH %s -o %t.ll 2>&1 | FileCheck %s
33

44
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
55
// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.cpp
6-
// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.ll
76
// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.sh
87

98
#ifdef CRASH

0 commit comments

Comments
 (0)