summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/new7.C
blob: e07d2261738ca3413b90362248111421782d2ba5 (plain)
1
2
3
4
5
6
7
template <class T>
 struct Foo
 {};
 
 template <class T>
 void Foo<T>::NON_EXISTENT(int* val = new int()) {} // { dg-error "" }