Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / vt-58156.C
blobf1362ee84b6bf12101f65b40d7012e69f197f412
1 // PR c++/58156
2 // { dg-do compile { target c++11 } }
4 template <class T, class... U>
5 void Foo(U&...) {}
7 template <class T, class... U>
8 void Foo(const U&...) {}
10 void Bar() {
11   const int a = 0;
12   Foo<int>(a);