Commit 8b2f4063 by Alexandre Oliva Committed by Alexandre Oliva

* friend1.C: New test.

From-SVN: r39714
parent 8826b15b
2001-02-15 Alexandre Oliva <aoliva@redhat.com>
* friend1.C: New test.
2000-05-28 Alexandre Oliva <aoliva@cygnus.com>
* expr2.C: New test.
......
// 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);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment