re PR c++/17618 (ICE in cp_convert_to_pointer, at cp/cvt.c:83)

2004-09-23  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/17618
        * g++.dg/lookup/crash5.C: New test.

From-SVN: r87980
This commit is contained in:
Andrew Pinski 2004-09-23 20:16:48 +00:00 committed by Andrew Pinski
parent 3aecd08b53
commit dc2e6df29e
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-09-23 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/17618
* g++.dg/lookup/crash5.C: New test.
2004-09-23 Dorit Naishlos <dorit@il.ibm.com>
* gcc.dg/vect/vect-27.c: Now vectorized on altivec.

View File

@ -0,0 +1,9 @@
// { dg-do compile }
//
// PR 17618
void foo()
{
p; // { dg-error "not declared" }
(void*) p;
}