1 // RUN: rm -rf "%t"
2 // RUN: mkdir -p "%t"
3 // RUN: env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTION=1 \
4 // RUN:     not %clang -fsyntax-only -frewrite-map-file %p/Inputs/rewrite.map %s 2>&1 \
5 // RUN:   | FileCheck %s
6 
7 #pragma clang __debug parser_crash
8 
9 // CHECK: note: diagnostic msg: {{.*}}rewrite.map
10 
11 // REQUIRES: crash-recovery
12