re PR c++/28217 (ICE in tree_int_cst_sgn)

PR c++/28217
	* g++.dg/pch/template-1.C: New test.
	* g++.dg/pch/template-1.Hs: New file.

From-SVN: r120410
This commit is contained in:
Jakub Jelinek 2007-01-04 00:53:18 +01:00 committed by Jakub Jelinek
parent 0c5a1cbc07
commit 019df41c96
3 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-01-03 Jakub Jelinek <jakub@redhat.com>
PR c++/28217
* g++.dg/pch/template-1.C: New test.
* g++.dg/pch/template-1.Hs: New file.
2007-01-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR middle-end/30353

View File

@ -0,0 +1,8 @@
// PR c++/28217
#include "template-1.H"
int
main (void)
{
}

View File

@ -0,0 +1,5 @@
template<int> struct A
{
enum { a, b = a };
void foo(A<b>);
};