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