Commit 7c6536fa by Volker Reichelt Committed by Volker Reichelt

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
parent 95b4aca6
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.
......
// { 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>();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment