blob: fd97e6f0cce1124b54c6902266ed8f4241328a9d [file] [log] [blame] [edit]
// RUN: %clang -S -emit-llvm -o %t.ll %s
// RUN: not %clang -S -DCRASH %s -o %t.ll 2>&1 | FileCheck %s
// CHECK: Preprocessed source(s) and associated run script(s) are located at:
// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.cpp
// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.sh
#ifdef CRASH
#pragma clang __debug parser_crash
#endif
int main() {
return 0;
}