Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / instrprof-error.c
blob3297c9d8840ae85d2049f4d52ebef42514e6a875
1 // RUN: %clang_profgen -o %t -O3 %s
2 // RUN: env LLVM_PROFILE_FILE=%t/ %run %t 1 2>&1 | FileCheck %s
4 int main(int argc, const char *argv[]) {
5 if (argc < 2)
6 return 1;
7 return 0;
9 // CHECK: LLVM Profile Error: Failed to write file