Debian Codegraph @

libstdc++-v3/testsuite/23_containers/vector/cons/destroy-adl.cc

raw
1 // { dg-do compile }
2
3 #include <vector>
4
5 template<class T> struct Holder { T t; }; // { dg-bogus "incomplete type" }
6 struct Incomplete;
7
8 void destroy(std::vector<Holder<Incomplete>*>* p)
9 {
10 p->~vector();
11 }