llvm-project/clang/test/Profile/profile-does-not-exist.c

5 lines
200 B
C

// RUN: not %clang_cc1 -emit-llvm %s -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s
// CHECK: error: Could not read profile: No such file or directory
// CHECK-NOT: Assertion failed