URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.oliva/] [friend1.C] - Rev 12
Compare with Previous | Blame | View Log
// { 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);
};