From: Volker Reichelt Date: Mon, 5 Jul 2004 10:31:54 +0000 (+0000) Subject: re PR c++/11406 (sorry+ICE: `array_ref' not supported by dump_type) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c6536faf7fb528f659ccae0b3c7d5e6520db43f;p=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 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 82c559d4341..3b0a5d1b2c9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-07-05 Volker Reichelt + + PR c++/11406 + * g++.dg/template/sizeof8.C: New test. + 2004-07-05 Richard Sandiford * gcc.c-torture/compile/20040705-1.c: New test. diff --git a/gcc/testsuite/g++.dg/template/sizeof8.C b/gcc/testsuite/g++.dg/template/sizeof8.C new file mode 100644 index 00000000000..f3069f04255 --- /dev/null +++ b/gcc/testsuite/g++.dg/template/sizeof8.C @@ -0,0 +1,9 @@ +// { dg-do compile } +// Testcase by: bangerth@dealii.org +// PR c++/11406: ICE + +template struct S{}; + +template S f() {} + +template S<4> f<2>();