mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-03 19:00:51 +00:00
Add array test to PointerHolder
This commit is contained in:
parent
8b67ac494e
commit
f76191f0c2
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -16,6 +16,11 @@ calling Object::hello for 1
|
|||
calling Object::hello const for 1
|
||||
calling Object::hello const for 1
|
||||
calling Object::hello const for 1
|
||||
array
|
||||
created Object, id 4
|
||||
created Object, id 5
|
||||
goodbye
|
||||
destroyed Object, id 5
|
||||
destroyed Object, id 4
|
||||
destroyed Object, id 3
|
||||
destroyed Object, id 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user