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
/
ptrmem16.C
blob
770581db828873c5952098f24527207768221bac
1
// PR c++/25369
2
// { dg-do link }
3
4
template <typename> struct A
5
{
6
void foo() {}
7
};
8
9
void bar(void (A<int>::*)()) {}
10
11
template <int> void baz()
12
{
13
bar(&A<int>::foo);
14
}
15
16
int main()
17
{
18
baz<0>();
19
return 0;
20
}