OSDN Git Service

fix
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2001 11:34:32 +0000 (11:34 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 Aug 2001 11:34:32 +0000 (11:34 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45128 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/template/friend.C

index 18e0156..67f575e 100644 (file)
@@ -16,15 +16,15 @@ ostream& operator<<(ostream &o, const typename s<T>::t &x)
 template <class T>
 struct s {
   struct t
-  {
+  {                             // { dg-bogus "" "" { xfail *-*-* } }
     friend ostream&
-    operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus ".*" "" { xfail *-*-* } }
+    operator<<<T>(ostream&, const typename s<T>::t &); // { dg-bogus "" "" { xfail *-*-* } }
   };
   t x;
 };
 
 int main()
 {
-  s<int>::t y;
+  s<int>::t y;                  // { dg-bogus "" "" { xfail *-*-* } }
   cout << y;
 }