summaryrefslogtreecommitdiff
path: root/test/Preprocessor/include-likely-typo.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/include-likely-typo.c')
-rw-r--r--test/Preprocessor/include-likely-typo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/include-likely-typo.c b/test/Preprocessor/include-likely-typo.c
new file mode 100644
index 0000000000000..89abe2a6e87b2
--- /dev/null
+++ b/test/Preprocessor/include-likely-typo.c
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -verify
+// RUN: %clang_cc1 -fms-compatibility %s -verify
+
+#include "<empty_file_to_include.h>" // expected-error {{'<empty_file_to_include.h>' file not found, did you mean 'empty_file_to_include.h'?}}