summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/friend37.C
blob: a0c65ad2bf23a40bb21649ffdd016e6fee4ab75d (plain)
1
2
3
4
5
6
7
// { dg-do assemble  }
// Simplified from report by Volker Dobler <volker@hugo.physik.uni-konstanz.de>

template <class T> class A {
  friend int ice<>( int k=0 ); // { dg-error "" } default argument
  friend inline int f<>(double); // { dg-error "" } inline
};