re PR c++/11406 (sorry+ICE: `array_ref' not supported by dump_type)

PR c++/11406
	* g++.dg/template/sizeof8.C: New test.

From-SVN: r84111
This commit is contained in:
Volker Reichelt 2004-07-05 10:31:54 +00:00 committed by Volker Reichelt
parent 95b4aca6a3
commit 7c6536faf7
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -0,0 +1,9 @@
// { 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>();