(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
cpp0x/
vt-58156.C
// PR c++/58156
// { dg-do compile { target c++11 } }

template <class T, class... U>
void Foo(U&...) {}

template <class T, class... U>
void Foo(const U&...) {}

void Bar() {
  const int a = 0;
  Foo<int>(a);
}