X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Ffriend3.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Ffriend3.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=1fa48a8c5279eb42dba435a764a6b41b6cf4b11e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/friend3.C b/gcc/testsuite/g++.old-deja/g++.brendan/friend3.C deleted file mode 100644 index 1fa48a8c..00000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/friend3.C +++ /dev/null @@ -1,28 +0,0 @@ -// Build don't link: -// GROUPS passed friends -class B { - - friend class A; - - enum { - bEnum = 1, - }; // ERROR - comma - - int bArray[ bEnum ]; - -public: - void bFunction(int arg[ bEnum ]); -}; - - -class A { - int aMember; - -public: - void aFunction(int a[B::bEnum]) - { - B b; - b.bArray[ B::bEnum ] = aMember; - } -}; -