xref: /xnu-11215.1.10/tests/net_bounds_safety.c (revision 8d741a5de7ff4191bf97d57b9f54c2f6d4a15585)
1 #include <darwintest_utils.h>
2 #include <net/if.h>
3 
4 T_DECL(net_bounds_safety,
5     "verify compilation including net/if.h works with and without bounds_safety")
6 {
7 #if __has_ptrcheck
8 	T_PASS("bounds_safety enabled");
9 #else
10 	T_PASS("bounds_safety disabled");
11 #endif
12 }
13