mirror of
https://github.com/darlinghq/darling-xnu.git
synced 2024-11-23 12:39:55 +00:00
19 lines
427 B
C++
19 lines
427 B
C++
//
|
|
// Make sure we can #include OSPtr.h under various version of the C++ Standard.
|
|
//
|
|
|
|
#include <darwintest.h>
|
|
#include <libkern/c++/OSPtr.h>
|
|
|
|
T_GLOBAL_META(
|
|
T_META_NAMESPACE("osptr"),
|
|
T_META_CHECK_LEAKS(false),
|
|
T_META_RUN_CONCURRENTLY(true)
|
|
);
|
|
|
|
#define CONCAT_PRIM(x, y) x ## y
|
|
#define CONCAT(x, y) CONCAT_PRIM(x, y)
|
|
T_DECL(CONCAT(osptr_compat_, OSPTR_STD), "osptr.compat") {
|
|
T_PASS("OSPtr compatibility test passed");
|
|
}
|