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