* g++.dg/template/sizeof8.C: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84111
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-07-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ PR c++/11406
+ * g++.dg/template/sizeof8.C: New test.
+
2004-07-05 Richard Sandiford <rsandifo@redhat.com>
* gcc.c-torture/compile/20040705-1.c: New test.
--- /dev/null
+// { dg-do compile }
+// Testcase by: bangerth@dealii.org
+// PR c++/11406: ICE
+
+template <int> struct S{};
+
+template <int N> S<sizeof(new double[N])> f() {}
+
+template S<4> f<2>();