summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/crash48.C
blob: 2785cdd397031dd6e0ce51605966659b0f0b9321 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// Origin: Jean-Francois Panisset <panisset@discreet.com>

template<class T>
void foo(T *data)
{
  ((char *)data)->~T();
}