From: Eric Christopher Date: Thu, 20 Sep 2018 17:22:43 +0000 (+0000) Subject: Add testcases for r342667. X-Git-Tag: llvmorg-8.0.0-rc1~8312 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a9b3fe780205fbb94f06e157078b7fd76851e8a;p=platform%2Fupstream%2Fllvm.git Add testcases for r342667. llvm-svn: 342668 --- diff --git a/clang/test/Preprocessor/include-leading-nonalpha-no-suggest.c b/clang/test/Preprocessor/include-leading-nonalpha-no-suggest.c new file mode 100644 index 0000000..0d7dd1a --- /dev/null +++ b/clang/test/Preprocessor/include-leading-nonalpha-no-suggest.c @@ -0,0 +1,3 @@ +// RUN: %clang_cc1 %s -verify + +#include "/non_existing_file_to_include.h" // expected-error {{'/non_existing_file_to_include.h' file not found}} diff --git a/clang/test/Preprocessor/include-leading-nonalpha-suggest.c b/clang/test/Preprocessor/include-leading-nonalpha-suggest.c new file mode 100644 index 0000000..98ac862 --- /dev/null +++ b/clang/test/Preprocessor/include-leading-nonalpha-suggest.c @@ -0,0 +1,3 @@ +// RUN: %clang_cc1 %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'?}}