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