blob: c71f9d440e7c1d691491ce5cc75a9a237800f05d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// { 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>();
}
|