summaryrefslogtreecommitdiff
path: root/test/Frontend/rewrite-includes-filenotfound.c
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-06-03 15:20:48 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-06-03 15:20:48 +0000
commit551c698530debaae81139c7c76a29fb762793362 (patch)
tree547e0e59163c33f2142998714eb5f957e65d1a57 /test/Frontend/rewrite-includes-filenotfound.c
parent416ada0f75bab22b084a1776deb229cd4a669c4d (diff)
Diffstat (limited to 'test/Frontend/rewrite-includes-filenotfound.c')
-rw-r--r--test/Frontend/rewrite-includes-filenotfound.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Frontend/rewrite-includes-filenotfound.c b/test/Frontend/rewrite-includes-filenotfound.c
new file mode 100644
index 000000000000..203dbde54516
--- /dev/null
+++ b/test/Frontend/rewrite-includes-filenotfound.c
@@ -0,0 +1,6 @@
+// RUN: not %clang_cc1 -E -frewrite-includes %s -o - 2>&1 | FileCheck %s
+
+#include "this file does not exist.foo"
+#include "this file also does not exist.foo"
+
+CHECK: fatal error: {{.*}} file not found