OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /openrisc/trunk/gnu-old/gcc-4.2.2/gcc/testsuite/g++.old-deja/g++.rfg
    from Rev 154 to Rev 816
    Reverse comparison

Rev 154 → Rev 816

/00321_01-.C
0,0 → 1,14
// { dg-do assemble }
// Here is a simple one. GCC correctly gives errors for this code when the
// - -pedantic-errors option is used, whereas g++ doesn't.
 
 
int (*p1)[3];
int (*p2)[5];
 
void
test ()
{
p1 == p2; // { dg-error "" } comparison.*
p1 > p2; // { dg-error "" } comparison.*
}
00321_01-.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Index: 00324_02-.C =================================================================== --- 00324_02-.C (nonexistent) +++ 00324_02-.C (revision 816) @@ -0,0 +1,16 @@ +// { dg-do assemble } +// Another simple one. GCC corerctly gives errors for this code when the +// - -pedantic-errors options is used. g++ doesn't. + + +void f (int i) { } + +void (*fp)(void); + +int i; + +void +test () +{ + i ? f : fp; // { dg-error "" } +}
00324_02-.C Property changes : Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.