1// RUN: rm -rf %t; mkdir %t
2
3// RUN: %clang_pgogen -o %t/timeprof -mllvm -pgo-temporal-instrumentation %s
4// RUN: env LLVM_PROFILE_FILE=%t/timeprof_%m.profdata %run %t/timeprof 2>&1 | count 0
5// RUN: env LLVM_PROFILE_FILE=%t/timeprof_%m.profdata %run %t/timeprof 2>&1 | FileCheck %s --check-prefix=TIMEPROF
6
7// TIMEPROF: Temporal profiles do not support profile merging at runtime.
8
9int main() { return 0; }
10

source code of compiler-rt/test/profile/instrprof-merge-error.c