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:
parent
3aecd08b53
commit
dc2e6df29e
@ -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.
|
||||
|
9
gcc/testsuite/g++.dg/lookup/crash5.C
Normal file
9
gcc/testsuite/g++.dg/lookup/crash5.C
Normal file
@ -0,0 +1,9 @@
|
||||
// { dg-do compile }
|
||||
//
|
||||
// PR 17618
|
||||
|
||||
void foo()
|
||||
{
|
||||
p; // { dg-error "not declared" }
|
||||
(void*) p;
|
||||
}
|
Loading…
Reference in New Issue
Block a user