blob: 2785cdd397031dd6e0ce51605966659b0f0b9321 [file] [log] [blame]
// { dg-do assemble }
// Origin: Jean-Francois Panisset <panisset@discreet.com>
template<class T>
void foo(T *data)
{
((char *)data)->~T();
}