Sign in
gnu
/
gcc
/
b1143e51359be3b1151d892970f43ae67dee64d2
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend38.C
blob: e3a6a060ef6afd2da2c57c037ffca3d3f61e1e1b [
file
] [
log
] [
blame
]
// Build don't link:
// Overly simplified from testcase by "B. K. Oxley" <binkley@bigfoot.com>
template
<
class
P
>
struct
foo
{
typedef
P parent_type
;
friend
parent_type
;
// ERROR - template parameters cannot be friends - XFAIL *-*-*
};