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
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend52.C
1
// PR c++/50344
2
// { dg-options "" }
3
4
template <typename T> class C
5
{
6
friend T;
7
int i;
8
};
9
10
struct S
11
{
12
int f()
13
{
14
C<const S> c;
15
return c.i;
16
}
17
};