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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
using8.C
1
// { dg-do compile }
2
3
// Origin: Sergey Shandar <comer@pisem.net>
4
5
// PR c++/9810: Access checking for member function template
6
// appeared in using declaration.
7
8
struct A
9
{
10
template<class R> void F(R) {}
11
};
12
13
struct B: private A
14
{
15
using A::F;
16
};
17
18
int main()
19
{
20
B b;
21
b.F(3);
22
}