]> granicus.if.org Git - clang/commitdiff
Fix this test so it doesn't try to open a file to write to the source tree
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Apr 2015 16:33:18 +0000 (16:33 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 6 Apr 2015 16:33:18 +0000 (16:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234173 91177308-0d34-0410-b5e6-96231b3b80d8

test/Profile/profile-does-not-exist.c

index 32b76fa02592df049adc109650613fc38de7d6e6..89609bd945d6718e7b9b1752ea284b9865452629 100644 (file)
@@ -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