summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/cpp/pr93452-2.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/c-c++-common/cpp/pr93452-2.c')
-rw-r--r--gcc/testsuite/c-c++-common/cpp/pr93452-2.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/cpp/pr93452-2.c b/gcc/testsuite/c-c++-common/cpp/pr93452-2.c
new file mode 100644
index 00000000000..c9ab0e9f763
--- /dev/null
+++ b/gcc/testsuite/c-c++-common/cpp/pr93452-2.c
@@ -0,0 +1,11 @@
+/* { dg-do preprocess } */
+/* { dg-additional-options "-dD" } */
+
+#if __has_include ("who cares" )
+#endif
+int main ()
+{
+ return 0;
+}
+
+/* { dg-final { scan-file-not pr93452-2.i {__has_include} } } */