• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // RUN: rm -rf "%t"
2 // RUN: mkdir -p "%t"
3 // RUN: not env TMPDIR="%t" TEMP="%t" TMP="%t" RC_DEBUG_OPTION=1 \
4 // RUN:     %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 
13 // FIXME: This doesn't fail on "env clang". Investigating.
14 // REQUIRES: shell
15