re PR c++/62276 (ICE when non-variadic template template parameter is default argumen...
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 16 Jan 2015 17:10:20 +0000 (17:10 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 16 Jan 2015 17:10:20 +0000 (17:10 +0000)
2014-01-16  Paolo Carlini  <paolo.carlini@oracle.com>

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

From-SVN: r219756

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/vt-62276.C [new file with mode: 0644]

index 57e4936cb90c492b65eda70e3fb3728fe97ae341..b1d9a47beeb520f3a704f0a3a4f925c03f1ca94b 100644 (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
diff --git a/gcc/testsuite/g++.dg/cpp0x/vt-62276.C b/gcc/testsuite/g++.dg/cpp0x/vt-62276.C
new file mode 100644 (file)
index 0000000..cd411ec
--- /dev/null
@@ -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(); }