Fix two problems from PR3916, and one problem I noticed while hacking
on the code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69404 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Preprocessor/include-directive2.c b/test/Preprocessor/include-directive2.c
index 785b77c..1239982 100644
--- a/test/Preprocessor/include-directive2.c
+++ b/test/Preprocessor/include-directive2.c
@@ -1,4 +1,17 @@
-// RUN: clang-cc -Eonly %s
+// RUN: clang-cc -Eonly -verify %s
# define HEADER <float.h>
# include HEADER
+
+#include <limits.h> NON_EMPTY // expected-warning {{extra tokens at end of #include directive}}
+
+// PR3916: these are ok.
+#define EMPTY
+#include <limits.h> EMPTY
+#include HEADER EMPTY
+
+// PR3916
+#define FN limits.h>
+#include <FN
+
+#include <> // expected-error {{empty filename}}