* g++.dg/pch/template-1.C: New test.
* g++.dg/pch/template-1.Hs: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120410
138bc75d-0d04-0410-961f-
82ee72b054a4
+2007-01-03 Jakub Jelinek <jakub@redhat.com>
+
+ PR c++/28217
+ * g++.dg/pch/template-1.C: New test.
+ * g++.dg/pch/template-1.Hs: New file.
+
2007-01-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/30353
--- /dev/null
+// PR c++/28217
+
+#include "template-1.H"
+
+int
+main (void)
+{
+}
--- /dev/null
+template<int> struct A
+{
+ enum { a, b = a };
+ void foo(A<b>);
+};