]> git.saurik.com Git - apple/xnu.git/blobdiff - tests/bounded_ptr_03.cpp
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / tests / bounded_ptr_03.cpp
diff --git a/tests/bounded_ptr_03.cpp b/tests/bounded_ptr_03.cpp
new file mode 100644 (file)
index 0000000..ff2d2e1
--- /dev/null
@@ -0,0 +1,10 @@
+//
+// Make sure that the forward declaration header can be included in C++03.
+//
+
+#include <libkern/c++/bounded_ptr_fwd.h>
+#include <darwintest.h>
+
+T_DECL(fwd_decl_cxx03, "bounded_ptr.fwd_decl.cxx03") {
+       T_PASS("bounded_ptr.fwd_decl.cxx03 compiled successfully");
+}