repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
using23.C
blob
abb90de4cd8c32ae123cdf7a4c9619865c4be442
1
// PR c++/57831
2
3
struct A {
4
void f();
5
};
6
template <class T> struct B : T {
7
typedef T base;
8
using base::f; // If I write "using B<T>::f" it's ok
9
void g( ) {
10
B<T>::f(); // This is OK as expected
11
(this->*&T::f)(); // This is also OK
12
(this->*&B<T>::f)(); // This causes error
13
}
14
};
15
template struct B< A >;