This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

eb25, eb67, eb76


dejagnu is picky: There must a non-empty string after the ERROR -.

Martin

Index: eb25.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb25.C,v
retrieving revision 1.2
diff -c -p -r1.2 eb25.C
*** eb25.C	1998/05/31 20:47:52	1.2
--- eb25.C	1998/06/01 10:23:42
***************
*** 6,11 ****
  
  int main()
  {
!   priority_queue< int, vector<int>, greater<int> > pq; // ERROR -
    return 0;
  }
--- 6,11 ----
  
  int main()
  {
!   priority_queue< int, vector<int>, greater<int> > pq; // ERROR - 
    return 0;
  }
Index: eb67.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb67.C,v
retrieving revision 1.2
diff -c -p -r1.2 eb67.C
*** eb67.C	1998/05/28 23:06:53	1.2
--- eb67.C	1998/06/01 10:23:42
***************
*** 1,6 ****
  // Build don't link: 
! /* 
  Check whether a typedef for a basic type as a baseclass is diagnosed.
  */
  typedef int an_int;
! class bar : public an_int {}; // ERROR -
--- 1,6 ----
  // Build don't link: 
! /*
  Check whether a typedef for a basic type as a baseclass is diagnosed.
  */
  typedef int an_int;
! class bar : public an_int {}; //ERROR - not an aggregate
Index: eb76.C
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/testsuite/g++.old-deja/g++.robertl/eb76.C,v
retrieving revision 1.2
diff -c -p -r1.2 eb76.C
*** eb76.C	1998/05/31 20:47:00	1.2
--- eb76.C	1998/06/01 10:23:42
*************** inline bool operator!=(const T& x, const
*** 7,13 ****
  
  enum T {
    V1,
! };                           // ERROR -
  
  struct X {
    T      t : 31;
--- 7,13 ----
  
  enum T {
    V1,
! };                           //ERROR - comma at end of enumerator list
  
  struct X {
    T      t : 31;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]