From 412865c8ea9f94a487d9887360b8adb6032e6a80 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Mon, 6 Apr 2015 16:33:18 +0000 Subject: [PATCH] Fix this test so it doesn't try to open a file to write to the source tree git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234173 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Profile/profile-does-not-exist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Profile/profile-does-not-exist.c b/test/Profile/profile-does-not-exist.c index 32b76fa025..89609bd945 100644 --- a/test/Profile/profile-does-not-exist.c +++ b/test/Profile/profile-does-not-exist.c @@ -1,4 +1,4 @@ -// RUN: not %clang_cc1 -emit-llvm %s -fprofile-instr-use=%t.nonexistent.profdata 2>&1 | FileCheck %s +// 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 -- 2.40.0