From 981d2a04b7b46c1bcc9344a8c0797ad43bd40a0b 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 llvm-svn: 234173 --- clang/test/Profile/profile-does-not-exist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Profile/profile-does-not-exist.c b/clang/test/Profile/profile-does-not-exist.c index 32b76fa02592..89609bd945d6 100644 --- a/clang/test/Profile/profile-does-not-exist.c +++ b/clang/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