Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / compiler-rt / test / profile / instrprof-version-mismatch.c
blob81ae52119693fd278dc271c9516387f946ecf751
1 // RUN: %clang_profgen -o %t -O3 %s
2 // RUN: %run %t 1 2>&1 | FileCheck %s
4 // override the version variable with a bogus version:
5 unsigned long long __llvm_profile_raw_version = 10000;
6 int main(int argc, const char *argv[]) {
7 if (argc < 2)
8 return 1;
9 return 0;
11 // CHECK: LLVM Profile Error: Runtime and instrumentation version mismatch