re PR c++/62276 (ICE when non-variadic template template parameter is default argument of variadic template template parameter)

2014-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/62276
	* g++.dg/cpp0x/vt-62276.C: New.

From-SVN: r219756
This commit is contained in:
Paolo Carlini 2015-01-16 17:10:20 +00:00 committed by Paolo Carlini
parent 2a37d9d0e6
commit 0dc240a4ab
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-01-16 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/62276
* g++.dg/cpp0x/vt-62276.C: New.
2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
PR middle-end/64353

View File

@ -0,0 +1,9 @@
// PR c++/62276
// { dg-do compile { target c++11 } }
template <typename T> using bar = T;
template <template <typename...> class F = bar>
void foo() {}
int main() { foo(); }