]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/test/profile/instrprof-version-mismatch.c
New upstream version 1.12.0+dfsg1
[rustc.git] / src / compiler-rt / test / profile / instrprof-version-mismatch.c
CommitLineData
3157f602 1// RUN: %clang_profgen -o %t -O3 %s
5bcae85e 2// RUN: %run %t 1 2>&1 | FileCheck %s
3157f602
XL
3
4// override the version variable with a bogus version:
5unsigned long long __llvm_profile_raw_version = 10000;
6int main(int argc, const char *argv[]) {
7 if (argc < 2)
8 return 1;
9 return 0;
10}
5bcae85e 11// CHECK: LLVM Profile Error: Runtime and instrumentation version mismatch