xref: /xnu-11215/tests/bounded_ptr_03.cpp (revision aca3beaa)
1 //
2 // Make sure that the forward declaration header can be included in C++03.
3 //
4 
5 #include <libkern/c++/bounded_ptr_fwd.h>
6 #include <darwintest.h>
7 
8 T_GLOBAL_META(
9 	T_META_NAMESPACE("bounded_ptr_cxx03"),
10 	T_META_CHECK_LEAKS(false),
11 	T_META_RUN_CONCURRENTLY(true)
12 	);
13 
14 T_DECL(fwd_decl, "bounded_ptr_cxx03.fwd_decl") {
15 	T_PASS("bounded_ptr_cxx03.fwd_decl compiled successfully");
16 }
17