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