brintos

brintos / llvm-project-archived public Read only

0
0
Text · 375 B · fd97e6f Raw
15 lines · cpp
1// RUN: %clang -S -emit-llvm -o %t.ll %s2// RUN: not %clang -S -DCRASH %s -o %t.ll 2>&1 | FileCheck %s3 4// CHECK: Preprocessed source(s) and associated run script(s) are located at:5// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.cpp6// CHECK-NEXT: clang: note: diagnostic msg: {{.*}}.sh7 8#ifdef CRASH9#pragma clang __debug parser_crash10#endif11 12int main() {13  return 0;14}15