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