repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
using8.C
blob
a79158710f52c3aa75b712e58a7f0780ff060932
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
}