diff options
Diffstat (limited to 'test/Profile/profile-does-not-exist.c')
-rw-r--r-- | test/Profile/profile-does-not-exist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Profile/profile-does-not-exist.c b/test/Profile/profile-does-not-exist.c new file mode 100644 index 0000000..89609bd --- /dev/null +++ b/test/Profile/profile-does-not-exist.c @@ -0,0 +1,4 @@ +// RUN: not %clang_cc1 -emit-llvm %s -o - -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s + +// CHECK: error: Could not read profile: +// CHECK-NOT: Assertion failed |