Searched refs:simple_ptr (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/SemaCXX/
H A Ddestructor.cpp216 class simple_ptr { class in namespace:dnvd
218 simple_ptr(T* t): _ptr(t) {} function in class:dnvd::simple_ptr
219 ~simple_ptr() { delete _ptr; } // \
331 simple_ptr<F> f(new F());
335 simple_ptr<VB> vb(new VB());
339 simple_ptr<VB> vb(new VD());
343 simple_ptr<VD> vd(new VD());
347 simple_ptr<VF> vf(new VF());
354 simple_ptr<B> b(new B()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr<dnv
[all...]

Completed in 246 milliseconds