summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2015-04-06 16:33:18 +0000
committerDavid Blaikie <dblaikie@gmail.com>2015-04-06 16:33:18 +0000
commit981d2a04b7b46c1bcc9344a8c0797ad43bd40a0b (patch)
tree24a83ec1a9cf6b7dcd061220b1cf0e83bca58724
parent6f21907a89d279c1ca54aa65aeaff09e39f38d50 (diff)
downloadbcm5719-llvm-981d2a04b7b46c1bcc9344a8c0797ad43bd40a0b.tar.gz
bcm5719-llvm-981d2a04b7b46c1bcc9344a8c0797ad43bd40a0b.zip
Fix this test so it doesn't try to open a file to write to the source tree
llvm-svn: 234173
-rw-r--r--clang/test/Profile/profile-does-not-exist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Profile/profile-does-not-exist.c b/clang/test/Profile/profile-does-not-exist.c
index 32b76fa0259..89609bd945d 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
OpenPOWER on IntegriCloud