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:
parent
0c5a1cbc07
commit
019df41c96
@ -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
|
||||
|
8
gcc/testsuite/g++.dg/pch/template-1.C
Normal file
8
gcc/testsuite/g++.dg/pch/template-1.C
Normal file
@ -0,0 +1,8 @@
|
||||
// PR c++/28217
|
||||
|
||||
#include "template-1.H"
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
}
|
5
gcc/testsuite/g++.dg/pch/template-1.Hs
Normal file
5
gcc/testsuite/g++.dg/pch/template-1.Hs
Normal file
@ -0,0 +1,5 @@
|
||||
template<int> struct A
|
||||
{
|
||||
enum { a, b = a };
|
||||
void foo(A<b>);
|
||||
};
|
Loading…
Reference in New Issue
Block a user