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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typedef40.C
blob
1d8be358a2022a2769b75fd615c0db478408c6bd
1
// PR c++/55058
2
3
template <typename T>
4
struct A { };
5
6
template <typename T>
7
struct B {
8
B(const A<T> T::* p);
9
typedef A<T> D;
10
};
11
12
template <typename T>
13
B<T>::B(const D T::* p) { }
14
15
struct C {
16
C() : e() {};
17
18
const A<C> e;
19
};
20
21
B<C> g(&C::e);