☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
libstdc++-v3
/
testsuite
/
23_containers
/
vector
/
cons
/
destroy-adl.cc
☽
☼
libstdc++-v3/testsuite/23_containers/vector/cons/destroy-adl.cc
code
plain
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
}