blob: c71f9d440e7c1d691491ce5cc75a9a237800f05d [file] [log] [blame]
// { dg-do run }
template <class T> T* create ()
{
return new T;
}
template <class T> T* create2()
{
return create<T>();
}
int main()
{
int *p = create2<int>();
}