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