OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / pr34061.C
diff --git a/gcc/testsuite/g++.dg/cpp0x/pr34061.C b/gcc/testsuite/g++.dg/cpp0x/pr34061.C
new file mode 100644 (file)
index 0000000..7d6e71d
--- /dev/null
@@ -0,0 +1,5 @@
+// PR c++/34061
+// { dg-do compile }
+// { dg-options "-std=c++0x" }
+
+template<template<int> class ...T> struct A : T<0> {}; // { dg-error "not expanded|T" }