Fix windows build

This commit is contained in:
Alex Brachet 2022-05-31 17:31:55 +00:00
parent c4d9698f3c
commit a0ef52cc10
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
// RUN: rm -rf %t && mkdir %t
// RUN: echo "%s -fcrash-diagnostics-dir=%t -fsyntax-only" > %t.rsp
// RUN: echo "%s -fcrash-diagnostics-dir=%t -fsyntax-only" | sed -e 's/\\/\\\\/g' > %t.rsp
// RUN: not %clang -DFATAL @%t.rsp -gen-reproducer=off 2>&1 | FileCheck %s --check-prefix=NOT
// RUN: not %clang -DFATAL @%t.rsp -fno-crash-diagnostics 2>&1 | FileCheck %s --check-prefix=NOT
@ -29,8 +29,8 @@
// RUN: not %clang -gen-reproducer=badvalue 2>&1 | FileCheck %s --check-prefix=BAD-VALUE
// BAD-VALUE: Unknown value for -gen-reproducer=: 'badvalue'
// CHECK: note: diagnostic msg: {{.*}}emit-reproducer{{.*}}.c
// NOT-NOT: note: diagnostic msg: {{.*}}emit-reproducer{{.*}}.c
// CHECK: note: diagnostic msg: {{.*}}emit-reproducer-{{.*}}.c
// NOT-NOT: note: diagnostic msg: {{.*}}emit-reproducer-{{.*}}.c
#ifdef FATAL
#pragma clang __debug crash