OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* g++.old-deja/g++.pt/static11.C: Add xtensa-*-elf* to the
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend38.C
1
// Build don't link:
2
3
// Overly simplified from testcase by "B. K. Oxley" <binkley@bigfoot.com>
4
5
template<class P, class Q> struct foo {
6
typedef P parent_type;
7
friend parent_type; // ERROR - template parameters cannot be friends
8
friend Q; // ERROR - template parameters cannot be friends
9
};