7 lines · c
1// RUN: export LSAN_OPTIONS=detect_leaks=02// RUN: rm -rf %t3// RUN: not %clang -fcrash-diagnostics-dir=%t -c %s -o - 2>&1 | FileCheck %s4#pragma clang __debug parser_crash5// CHECK: Preprocessed source(s) and associated run script(s) are located at:6// CHECK: diagnostic msg: {{.*}}{{/|\\}}crash-diagnostics-dir.c.tmp{{(/|\\).*}}.c7