OSDN Git Service

* g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2002 20:29:45 +0000 (20:29 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Feb 2002 20:29:45 +0000 (20:29 +0000)
here" ERROR lines.
* g++.old-deja/g++.oliva/partord1.C: Likewise.
* g++.old-deja.g++.other/defarg1.C: Likewise.
* g++.old-deja/g++.pt/calls2.C: Likewise.
* g++.old-deja/g++.pt/crash20.C: Likewise.
* g++.old-deja/g++.pt/crash30.C: Likewise.
* g++.old-deja/g++.pt/crash36.C: Likewise.
* g++.old-deja/g++.pt/crash6.C: Likewise.
* g++.old-deja/g++.pt/defarg13.C: Likewise.
* g++.old-deja/g++.pt/derived3.C: Likewise.
* g++.old-deja/g++.pt/error1.C: Likewise.
* g++.old-deja/g++.pt/friend21.C: Likewise.
* g++.old-deja/g++.pt/friend23.C: Likewise.
* g++.old-deja/g++.pt/infinite1.C: Likewise.
* g++.old-deja/g++.robertl/eb128.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50115 138bc75d-0d04-0410-961f-82ee72b054a4

16 files changed:
gcc/testsuite/ChangeLog
gcc/testsuite/g++.old-deja/g++.law/visibility13.C
gcc/testsuite/g++.old-deja/g++.oliva/partord1.C
gcc/testsuite/g++.old-deja/g++.other/defarg1.C
gcc/testsuite/g++.old-deja/g++.pt/call2.C
gcc/testsuite/g++.old-deja/g++.pt/crash20.C
gcc/testsuite/g++.old-deja/g++.pt/crash30.C
gcc/testsuite/g++.old-deja/g++.pt/crash36.C
gcc/testsuite/g++.old-deja/g++.pt/crash6.C
gcc/testsuite/g++.old-deja/g++.pt/defarg13.C
gcc/testsuite/g++.old-deja/g++.pt/derived3.C
gcc/testsuite/g++.old-deja/g++.pt/error1.C
gcc/testsuite/g++.old-deja/g++.pt/friend21.C
gcc/testsuite/g++.old-deja/g++.pt/friend23.C
gcc/testsuite/g++.old-deja/g++.pt/infinite1.C
gcc/testsuite/g++.old-deja/g++.robertl/eb128.C

index d6b70d3..c2d12e9 100644 (file)
@@ -1,3 +1,22 @@
+2002-02-27  Mark Mitchell  <mark@codesourcery.com>
+
+       * g++.old-deja/g++.law/visibility13.C: Remove "instantiated from
+       here" ERROR lines.
+       * g++.old-deja/g++.oliva/partord1.C: Likewise.
+       * g++.old-deja.g++.other/defarg1.C: Likewise.
+       * g++.old-deja/g++.pt/calls2.C: Likewise.
+       * g++.old-deja/g++.pt/crash20.C: Likewise.
+       * g++.old-deja/g++.pt/crash30.C: Likewise.
+       * g++.old-deja/g++.pt/crash36.C: Likewise.
+       * g++.old-deja/g++.pt/crash6.C: Likewise.
+       * g++.old-deja/g++.pt/defarg13.C: Likewise.
+       * g++.old-deja/g++.pt/derived3.C: Likewise.
+       * g++.old-deja/g++.pt/error1.C: Likewise.
+       * g++.old-deja/g++.pt/friend21.C: Likewise.
+       * g++.old-deja/g++.pt/friend23.C: Likewise.
+       * g++.old-deja/g++.pt/infinite1.C: Likewise.
+       * g++.old-deja/g++.robertl/eb128.C: Likewise.
+       
 2002-02-27  Geoffrey Keating  <geoffk@redhat.com>
 
        * gcc.c-torture/execute/20020225-2.c: New test.
index dbde720..472d5a2 100644 (file)
@@ -99,7 +99,7 @@ try_array( Array_RC<Type> &rc )
 int main()
 {
     static int ia[10] = { 12, 7, 14, 9, 128, 17, 6, 3, 27, 5 };
-    Array_RC<int> iA(ia, 10);// ERROR - instantiated from here
+    Array_RC<int> iA(ia, 10);
 
     cout << "template Array_RC class" << endl;
     try_array(iA);
index 7ed017a..0770065 100644 (file)
@@ -23,6 +23,6 @@ template <typename T> void foo(T*) {
 int main() {
   int j = 0;
   foo(j); // calls foo<int>(int), ok
-  foo(&j); // calls foo<int>(int*) // ERROR - not a friend
+  foo(&j); // calls foo<int>(int*)
   foo<int*>(&j); // calls foo<int*>(int*), ok
 }
index 68b07a5..f1f72a5 100644 (file)
@@ -24,5 +24,5 @@ int j (T t)
   return 0;
 }
 
-template int j (double); // ERROR - instantiated from here
+template int j (double);
 
index 51b2469..e38a29e 100644 (file)
@@ -11,4 +11,4 @@ for_each(const Field& p, IsCompressed, C)
   return p.IsCompressed(); // ERROR - calling type like a method
 }
 
-template bool for_each<int>(const Field& p, IsCompressed, int); // ERROR - instantiated from here
+template bool for_each<int>(const Field& p, IsCompressed, int);
index 29b4281..9efff9d 100644 (file)
@@ -6,4 +6,4 @@ struct A { const T x; A() : x(0) { } A(T x) : x(x) { } };
 template <class B>
 void func () { B y; y = B(); } // ERROR - can't use default assignment
 
-int main (void) { func< A<> >(); } // ERROR - instantiated from here
+int main (void) { func< A<> >(); }
index 13dc37a..3b953d4 100644 (file)
@@ -12,4 +12,4 @@ template <class T> struct B {
   friend void xxx<T>(T); // ERROR - does not match any template
 };
  
-template struct B<double>; // ERROR - 
+template struct B<double>;
index ef507a4..f9cbed2 100644 (file)
@@ -32,4 +32,4 @@ struct list {
        (list_iterator<T>(Head->next())); }
 };
 
-template class list<int>; // ERROR - instantiated from here
+template class list<int>;
index 09e8df0..8e96940 100644 (file)
@@ -19,5 +19,5 @@ struct List
 
 void test(List<int>& vals)
 {
-  vals.length();  // ERROR - instantiated from here
+  vals.length();
 }
index 1082bf5..0f7e84f 100644 (file)
@@ -6,8 +6,8 @@ void f (int i)
 {
   struct S { void g (int j = i) {} }; // ERROR - default argument uses local
 
-  S s; // ERROR - instantiated here
+  S s;
 }
 
-template void f<double>(int); // ERROR - instantiated here
+template void f<double>(int);
 
index 9b4bda5..fa807da 100644 (file)
@@ -2,7 +2,7 @@
 // crash test -
 
 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
-// Copyright (C) 1999 Free Software Foundation
+// Copyright (C) 1999, 2002 Free Software Foundation
 
 template<class T>
 class X {
@@ -10,6 +10,6 @@ class X {
        Y y;
 };
 int main() {
-       X<int> x; // ERROR - (instantiated from here)
+       X<int> x;
 }
 
index 675a31a..5216a42 100644 (file)
@@ -16,4 +16,4 @@ void S<T>::f ()
   U& u; // ERROR - uninitialized reference
 }
 
-template void S<int>::f<double>(); // ERROR - instantiated from here
+template void S<int>::f<double>();
index 3f690a4..d30f29f 100644 (file)
@@ -27,4 +27,4 @@ void A<T>::f()
   B<double>::i = 3; // ERROR - member `i' is private
 }
 
-template void A<int>::f(); // ERROR - instantiated from here
+template void A<int>::f();
index 21065f1..4d37da3 100644 (file)
@@ -7,4 +7,4 @@ struct S
   friend class S;
 };
 
-template struct S<int>; // ERROR - instantiated from here
+template struct S<int>;
index 7e7e5fe..88d3ac5 100644 (file)
@@ -16,5 +16,5 @@ template <> void f<11>();
 
 int main()
 {
-  f<0>();                      // ERROR - starting here
+  f<0>();
 }
index d056e39..f3a65fc 100644 (file)
@@ -7,5 +7,5 @@ public:
 
 void f()
 {
-  A<int&> a; // ERROR - instantiated from here
+  A<int&> a;
 }