summaryrefslogtreecommitdiff
path: root/clang/test/Frontend/dependency-generation-crash.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Frontend/dependency-generation-crash.c')
-rw-r--r--clang/test/Frontend/dependency-generation-crash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Frontend/dependency-generation-crash.c b/clang/test/Frontend/dependency-generation-crash.c
new file mode 100644
index 0000000..181bb71
--- /dev/null
+++ b/clang/test/Frontend/dependency-generation-crash.c
@@ -0,0 +1,4 @@
+// RUN: touch %t
+// RUN: chmod 0 %t
+// %clang -E -dependency-file bla -MT %t -MP -o %t -x c /dev/null
+// rdar://9286457