HomeSort by relevance Sort by last modified time
    Searched full:simple_ptr2 (Results 1 - 1 of 1) sorted by null

  /external/clang/test/SemaCXX/
destructor.cpp 209 class simple_ptr2 { class in namespace:dnvd
211 simple_ptr2(T* t): _ptr(t) {} function in class:dnvd::simple_ptr2
212 ~simple_ptr2() { delete _ptr; } // expected-warning {{delete called on 'dnvd::B' that has virtual functions but non-virtual destructor}}
339 simple_ptr2<B> b(new D()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr2<dnvd::B>::~simple_ptr2' requested here}}

Completed in 3985 milliseconds