REPOSITORY
  rL LLVM

http://reviews.llvm.org/D7534

Files:
  cfe/trunk/test/Frontend/dependency-generation-crash.c

Index: cfe/trunk/test/Frontend/dependency-generation-crash.c
===================================================================
--- cfe/trunk/test/Frontend/dependency-generation-crash.c
+++ cfe/trunk/test/Frontend/dependency-generation-crash.c
@@ -1,4 +1,8 @@
 // RUN: touch %t
 // RUN: chmod 0 %t
-// %clang -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null
+// RUN: not %clang_cc1 -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null 
2>&1 | FileCheck %s
+// RUN: rm -f %t
+
+// CHECK: error: unable to open output file
+
 // rdar://9286457

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
Index: cfe/trunk/test/Frontend/dependency-generation-crash.c
===================================================================
--- cfe/trunk/test/Frontend/dependency-generation-crash.c
+++ cfe/trunk/test/Frontend/dependency-generation-crash.c
@@ -1,4 +1,8 @@
 // RUN: touch %t
 // RUN: chmod 0 %t
-// %clang -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null
+// RUN: not %clang_cc1 -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null 2>&1 | FileCheck %s
+// RUN: rm -f %t
+
+// CHECK: error: unable to open output file
+
 // rdar://9286457
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to