[AArch64/arm] PR testsuite/85326 Avoid C++ tests when C++ compiler not present
[official-gcc.git] / gcc / testsuite / g++.dg / init / new7.C
blobe07d2261738ca3413b90362248111421782d2ba5
1 template <class T>
2  struct Foo
3  {};
4  
5  template <class T>
6  void Foo<T>::NON_EXISTENT(int* val = new int()) {} // { dg-error "" }
7