Index: tests/.expect/smart-pointers.txt
===================================================================
--- tests/.expect/smart-pointers.txt	(revision 8be729fd71ad78ef553d5dce1521072429906e90)
+++ tests/.expect/smart-pointers.txt	(revision 8be729fd71ad78ef553d5dce1521072429906e90)
@@ -0,0 +1,1 @@
+done
Index: tests/smart-pointers.cfa
===================================================================
--- tests/smart-pointers.cfa	(revision 667b3c7658b202d8d7ada30db8d799b8d3d43e65)
+++ tests/smart-pointers.cfa	(revision 8be729fd71ad78ef553d5dce1521072429906e90)
@@ -2,5 +2,5 @@
 
 #include <memory.hfa>
-#include <stdlib.hfa>
+#include <assert.h>
 
 void counter_test(void) {
@@ -53,7 +53,21 @@
 }
 
+void declare_test(void) {
+	counter_ptr(int) ptr_i0 = 3;
+	counter_ptr(char) ptr_c0 = 'a';
+	counter_ptr(float) ptr_f0 = 3.5f;
+	counter_ptr(double) ptr_d0 = 3.5;
+
+	unique_ptr(int) ptr_i1 = 3;
+	unique_ptr(char) ptr_c1 = 'a';
+	unique_ptr(float) ptr_f1 = 3.5f;
+	unique_ptr(double) ptr_d1 = 3.5;
+}
+
 int main(int argc, char * argv[]) {
 	counter_test();
 	unique_test();
 	pointer_equality();
+
+	printf("done\n");
 }
