aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/pointer_holder.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-02-04 15:13:04 +0100
committerJay Berkenbilt <ejb@ql.org>2022-02-04 19:12:37 +0100
commitf76191f0c217f48b5a935fa7170771fdfb66e2cb (patch)
tree8be894805ea3ef0f9c1b3c9c9d4c7d1f29916e93 /libtests/pointer_holder.cc
parent8b67ac494e57c74d8e762de9fc476133d7cc49db (diff)
downloadqpdf-f76191f0c217f48b5a935fa7170771fdfb66e2cb.tar.zst
Add array test to PointerHolder
Diffstat (limited to 'libtests/pointer_holder.cc')
-rw-r--r--libtests/pointer_holder.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libtests/pointer_holder.cc b/libtests/pointer_holder.cc
index 05ab4cfa..469bfc21 100644
--- a/libtests/pointer_holder.cc
+++ b/libtests/pointer_holder.cc
@@ -96,6 +96,8 @@ int main(int argc, char* argv[])
(*ol1.front()).hello();
callHello(ol1.front());
ol1.pop_front();
+ std::cout << "array" << std::endl;
+ PointerHolder<Object> oarr1_ph(true, new Object[2]);
std::cout << "goodbye" << std::endl;
return 0;
}