1 // RUN: export LSAN_OPTIONS=detect_leaks=0
3 // RUN: not env CLANG_CRASH_DIAGNOSTICS_DIR=%t %clang -c %s -o - 2>&1 | FileCheck %s
4 #pragma clang __debug parser_crash
5 // CHECK: Preprocessed source(s) and associated run script(s) are located at:
6 // CHECK: diagnostic msg: {{.*}}{{/|\\}}crash-diagnostics-dir-3.c.tmp{{(/|\\).*}}.c