Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/vt-58156.C

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 }