☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-58156.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/vt-58156.C
code
plain
raw
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
}