Commit 0eaae86c by Alexandre Oliva Committed by Alexandre Oliva

friend35.C: New test.

	* g++.old-deja/g++.pt/friend35.C: New test.  A template function
 	must be declared before its specializations can be named in friend
 	declarations.

From-SVN: r22861
parent 40208b1c
1998-10-06 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/friend35.C: New test. A template function
must be declared before its specializations can be named in friend
declarations.
1998-10-05 Dave Love <d.love@dl.ac.uk>
* g77.f-torture/execute/u77-test.f: Add regression test for RAND.
......
// Build don't link:
class foo {
friend void bar<int>(int); // ERROR - must be declared first - XFAIL *-*-*
};
template <typename T> void bar(T);
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