repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic159.C
blob
2b14d3005f01e4a316eba1ea9e36b214c97950d2
1
// PR c++/61507
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
void foo(const int &);
6
void foo(float);
7
};
8
9
template <typename... Args>
10
void bar(void (A::*memfun)(Args...), Args... args);
11
12
void go(const int& i) {
13
bar<const int &>(&A::foo, i);
14
}