Commit 91910750 by Alexandre Oliva Committed by Alexandre Oliva

* g++.old-deja/g++.pt/friend38.C: New test.

From-SVN: r23916
parent ea84ebc2
1998-11-27 Alexandre Oliva <oliva@dcc.unicamp.br>
* g++.old-deja/g++.pt/friend38.C: New test.
* g++.old-deja/g++.ns/crash2.C: New test.
* g++.old-deja/g++.pt/defarg8.C: New test.
......
// Build don't link:
// Overly simplified from testcase by "B. K. Oxley" <binkley@bigfoot.com>
// crash test - XFAIL *-*-*
template<class P> struct foo {
typedef P parent_type;
friend parent_type; // ERROR - template parameters cannot be friends
};
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