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