9 lines · c
1// RUN: %clang_cc1 -emit-llvm -o /dev/null -stats-file=%t %s2// RUN: FileCheck -input-file=%t %s3// CHECK: {4// ... here come some json values ...5// CHECK: }6 7// RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%t.doesnotexist/bla %s 2>&1 | FileCheck -DMSG=%errc_ENOENT -check-prefix=OUTPUTFAIL %s8// OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '[[MSG]]'9