]> gcc.gnu.org Git - gcc.git/commitdiff
fix
authorJason Merrill <jason@gcc.gnu.org>
Thu, 23 Aug 2001 11:34:32 +0000 (07:34 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Aug 2001 11:34:32 +0000 (07:34 -0400)
From-SVN: r45128

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

index 18e01562159d65d2384d7ba7f6cc5515710aabfa..67f575e0bef749b439c033d1677c76b4ae1ea9a4 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;
 }
This page took 0.068116 seconds and 5 git commands to generate.