From: David Blaikie Date: Mon, 6 Apr 2015 16:33:18 +0000 (+0000) Subject: Fix this test so it doesn't try to open a file to write to the source tree X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=412865c8ea9f94a487d9887360b8adb6032e6a80;p=clang 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 --- 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