Matthias Braun | abb6eea | 2016-09-26 18:53:34 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -o /dev/null -stats-file=%t %s |
2 | // RUN: FileCheck -input-file=%t %s | ||||
3 | // CHECK: { | ||||
4 | // ... here come some json values ... | ||||
5 | // CHECK: } | ||||
6 | |||||
7 | // RUN: %clang_cc1 -emit-llvm -o %t -stats-file=%S/doesnotexist/bla %s 2>&1 | FileCheck -check-prefix=OUTPUTFAIL %s | ||||
8 | // OUTPUTFAIL: warning: unable to open statistics output file '{{.*}}doesnotexist{{.}}bla': '{{[Nn]}}o such file or directory' |