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