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
/
vt-58156.C
blob
f1362ee84b6bf12101f65b40d7012e69f197f412
1
// PR c++/58156
2
// { dg-do compile { target c++11 } }
3
4
template <class T, class... U>
5
void Foo(U&...) {}
6
7
template <class T, class... U>
8
void Foo(const U&...) {}
9
10
void Bar() {
11
const int a = 0;
12
Foo<int>(a);
13
}