commit 771e83607222a3648f4d522a1c35ad88d4817595 parent 8a2d9c4a5020b6d8189d03385758d2ed493bed21 Author: Ryan Sepassi <rsepassi@gmail.com> Date: Thu, 16 Jul 2026 11:16:41 -0700 test: make has-include absence probe hermetic Diffstat:
| M | test/pp/cases/95_has_include.c | | | 4 | ++-- |
| M | test/pp/cases/95_has_include.expected | | | 2 | +- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/test/pp/cases/95_has_include.c b/test/pp/cases/95_has_include.c @@ -21,6 +21,6 @@ have_op #if defined(__has_include) && __has_include("95_inc.h") guarded_yes #endif -#if __has_include(<sys/types.h>) ? 0 : 1 -no_sysroot_ok +#if __has_include(<kit_pp_missing_system_header_zzqq.h>) ? 0 : 1 +missing_expr_ok #endif diff --git a/test/pp/cases/95_has_include.expected b/test/pp/cases/95_has_include.expected @@ -3,4 +3,4 @@ angle_yes missing_no have_op guarded_yes -no_sysroot_ok +missing_expr_ok