summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/force-include-not-found.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-10-20 18:45:57 +0000
committerReid Kleckner <rnk@google.com>2015-10-20 18:45:57 +0000
commitafb9aaefe36fcf038b0193c6eb7c680404667811 (patch)
tree8d06b1a49944c0e15e4afd0f2e93cd1c2577d407 /clang/test/Frontend/force-include-not-found.c
parentc8925b18719f5ee2da586a3f41b3e143c5d3466a (diff)
downloadbcm5719-llvm-afb9aaefe36fcf038b0193c6eb7c680404667811.tar.gz
bcm5719-llvm-afb9aaefe36fcf038b0193c6eb7c680404667811.zip
Add back null check removed accidentally in r250554
Fixes PR25262 llvm-svn: 250844
Diffstat (limited to 'clang/test/Frontend/force-include-not-found.c')
-rw-r--r--clang/test/Frontend/force-include-not-found.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Frontend/force-include-not-found.c b/clang/test/Frontend/force-include-not-found.c
new file mode 100644
index 00000000000..191cf9d403d
--- /dev/null
+++ b/clang/test/Frontend/force-include-not-found.c
@@ -0,0 +1,3 @@
+// RUN: not %clang_cc1 %s -include "/abspath/missing file with spaces.h" 2>&1 | FileCheck %s
+// CHECK: file not found
+int main() { }
OpenPOWER on IntegriCloud