summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/warn04.C
blob: 8319e989aaed4cf7e3eb76b6c54c5a1194b9633f (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// { dg-options "-Wno-non-template-friend" }
// 980903 bkoz
// make sure this option works


template<class T> class task {
  friend void next_time(); //shouldn't give a warning
};