test the new stack allocation mechanism
diff --git a/test/dynalloc.cpp b/test/dynalloc.cpp
index 0b1d6c8..929e603 100644
--- a/test/dynalloc.cpp
+++ b/test/dynalloc.cpp
@@ -70,11 +70,10 @@
 {
   for(int i = 1; i < 1000; i++)
   {
-    float *p = ei_aligned_stack_new(float,i);
+    ei_declare_aligned_stack_constructed_variable(float,p,i,0);
     VERIFY(size_t(p)%ALIGNMENT==0);
     // if the buffer is wrongly allocated this will give a bad write --> check with valgrind
     for(int j = 0; j < i; j++) p[j]=0;
-    ei_aligned_stack_delete(float,p,i);
   }
 }