summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-20 03:22:33 +0000
committerDavid Robillard <d@drobilla.net>2011-05-20 03:22:33 +0000
commit5d4a41f9d3afa6ee9076df3299191139d0519b36 (patch)
tree05a6d2756b9577cc23aae1005d8c11bcc1ca4d69
parent815de8d70808836133b7ebcb1a2337b119d02631 (diff)
downloadraul-5d4a41f9d3afa6ee9076df3299191139d0519b36.tar.gz
raul-5d4a41f9d3afa6ee9076df3299191139d0519b36.tar.bz2
raul-5d4a41f9d3afa6ee9076df3299191139d0519b36.zip
Add missing file
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@3294 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--test/ptr_test.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/ptr_test.cpp b/test/ptr_test.cpp
new file mode 100644
index 0000000..95b702b
--- /dev/null
+++ b/test/ptr_test.cpp
@@ -0,0 +1,14 @@
+#include "raul/SharedPtr.hpp"
+#include "raul/WeakPtr.hpp"
+
+int
+main()
+{
+ /* TODO: Actually test functionality... */
+
+ SharedPtr<int> iptr;
+ WeakPtr<int> wptr;
+ wptr = iptr;
+
+ return 0;
+}