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
2010-02-21 Manuel López-Ibáñez <manu@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ptrmem10.C
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