* friend1.C: New test.

From-SVN: r39714
This commit is contained in:
Alexandre Oliva 2001-02-15 12:54:38 +00:00 committed by Alexandre Oliva
parent 8826b15be3
commit 8b2f4063e2
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2001-02-15 Alexandre Oliva <aoliva@redhat.com>
* friend1.C: New test.
2000-05-28 Alexandre Oliva <aoliva@cygnus.com>
* expr2.C: New test.

View File

@ -0,0 +1,12 @@
// Build don't link:
// 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);
};