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