aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/vector17.C
blob: eb389be01a86b156dc818b0d84c50e308e06c53c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
typedef double __attribute__((vector_size(1024) )) vec;

template <class T>
void f (T *p)
{
  p->~T();
}
void g (vec *p)
{
  f(p);
}