X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Ferror2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Ferror2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=9910ada2a8bb3b4dbe8260963e388be6bd030464;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/other/error2.C b/gcc/testsuite/g++.dg/other/error2.C deleted file mode 100644 index 9910ada2..00000000 --- a/gcc/testsuite/g++.dg/other/error2.C +++ /dev/null @@ -1,14 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2001 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 26 Dec 2001 - -// 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 "" "" }