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
/
ptrmem10.C
blob
b76d5e80a5afce110f9fc55650f6cb8c5db38bc7
1
// PR c++/15096
2
3
template <typename T_>
4
class C1
5
{
6
public:
7
C1 ();
8
~C1 ();
9
const int C1<T_>::* getPtr () const;
10
11
private:
12
int x;
13
T_ y;
14
};
15
16
17
template <typename T_>
18
const int C1<T_>::* C1<T_>::getPtr () const
19
{ return &C1<T_>::x; }
20
21