summaryrefslogtreecommitdiff
path: root/test/Driver/rewrite-map-in-diagnostics.c
blob: 4aea0ec031456bdb8de3f32898dd9a77c864e119 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: rm -rf "%t"
// RUN: mkdir -p "%t"
// RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTION=1 \
// RUN:     %clang -fsyntax-only -frewrite-map-file %p/Inputs/rewrite.map %s 2>&1 \
// RUN:   | FileCheck %s

#pragma clang __debug parser_crash

// CHECK: note: diagnostic msg: {{.*}}rewrite.map

// REQUIRES: crash-recovery

// FIXME: This doesn't fail on "env clang". Investigating.
// REQUIRES: shell