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
/
ptrmem14.C
blob
30eb1ebcc197f410af71507e6543a87844d89b22
1
// PR c++/15875
2
3
struct A
4
{
5
void foo();
6
};
7
8
template<int> void bar()
9
{
10
typedef void (A::*fptr)();
11
fptr ptr = &A::foo;
12
}