1 2 3 4 5 6 7 8 9 10 11 12
// { dg-do assemble } // Copyright (C) 2001 Free Software Foundation // by Alexandre Oliva <aoliva@redhat.com> // We shouldn't warn about bar referring to a non-template in this case. template <typename T> class foo { friend int bar(int); };