mirror of git://gcc.gnu.org/git/gcc.git
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:
parent
95b4aca6a3
commit
7c6536faf7
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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>();
|
||||
Loading…
Reference in New Issue