1 // Copyright (c) 2024 Apple Inc. All rights reserved. 2 3 #include <darwintest.h> 4 #include <sys/sysctl.h> 5 #include <unistd.h> 6 7 #include "exported_headers.h" 8 9 T_GLOBAL_META(T_META_NAMESPACE("xnu.scheduler"), 10 T_META_RADAR_COMPONENT_NAME("xnu"), 11 T_META_RADAR_COMPONENT_VERSION("scheduler")); 12 13 T_DECL(headers_compat_cpp, 14 "Verify that scheduler headers are compatible with C++", 15 T_META_ENABLED(false) // Test is at build time. 16 ) { 17 // If we're here, it compiled! 18 T_PASS("Great news: it compiles."); 19 20 T_END; 21 } 22