blob: f1362ee84b6bf12101f65b40d7012e69f197f412 [file] [log] [blame]
// 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);
}