]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.dg/other/error2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.dg / other / error2.C
diff --git a/gcc/testsuite/g++.dg/other/error2.C b/gcc/testsuite/g++.dg/other/error2.C
deleted file mode 100644 (file)
index 9910ada..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// { dg-do compile }
-
-// Copyright (C) 2001 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 26 Dec 2001 <nathan@nathan@codesourcery.com>
-
-// PR 196. Misleading diagnostic
-
-namespace N
-{
-  class B { friend void operator>>(int, class B); };
-  class N { friend void operator>>(int,class N); };
-} 
-void N::operator>>(int, N::B)  // { dg-error "no type `B' in `N::N'" "" }
-{ } // { dg-error "" "" }