llvm-for-llvmta/tools/clang/test/Profile/profile-does-not-exist.c

5 lines
217 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: not %clang_cc1 -emit-llvm %s -o - -fprofile-instrument-use-path=%t.nonexistent.profdata 2>&1 | FileCheck %s
// CHECK: error: Could not read profile {{.*}}.nonexistent.profdata:
// CHECK-NOT: Assertion failed