* g++.dg/cpp0x/decltype23.C: Move to...
* g++.dg/diagnostic/parm1.C: ...here, and remove decltype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160483
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-06-09 Jason Merrill <jason@redhat.com>
+
+ PR c++/44366
+ * g++.dg/cpp0x/decltype23.C: Move to...
+ * g++.dg/diagnostic/parm1.C: ...here, and remove decltype.
+
2010-06-09 Janus Weil <janus@gcc.gnu.org>
PR fortran/44211
// PR c++/44366
-// While printing the operand of decltype We were trying to print f as the
+// While printing the operand of sizeof We were trying to print f as the
// scope of t, causing infinite recursion.
-// { dg-options "-std=c++0x" }
template <typename T>
-void f(T t, decltype(*t))
+void f(T t, int(*)[sizeof(t)])
{
struct A { void g() {
foo; // { dg-error "foo" }