* g++.old-deja/g++.pt/friend38.C: New test.
From-SVN: r23916
This commit is contained in:
parent
ea84ebc2bc
commit
91910750a0
|
@ -1,5 +1,7 @@
|
|||
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.
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
// 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
|
||||
};
|
Loading…
Reference in New Issue