9 lines · c
1; RUN: not %clang_cc1 -emit-llvm -x ir %s -o - -fprofile-instrument-use=llvm -fprofile-instrument-use-path=%t.nonexistent.profdata 2>&1 | FileCheck %s2 3; CHECK: error: {{.*}}.nonexistent.profdata:4; CHECK-NOT: Assertion failed5 6define i32 @main() {7 ret i32 08}9