1 // { dg-do assemble } 2 // { dg-options "-Wno-non-template-friend" } 3 // 980903 bkoz 4 // make sure this option works 5 6 7 template<class T> class task { 8 friend void next_time(); //shouldn't give a warning 9 }; 10