X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Farm2.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Farm2.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=62bdc3d2a392c9ef4ab2ba089b79112f3d131e3c;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/arm2.C b/gcc/testsuite/g++.old-deja/g++.brendan/arm2.C deleted file mode 100644 index 62bdc3d2..00000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/arm2.C +++ /dev/null @@ -1,19 +0,0 @@ -// Build don't link: -// GROUPS passed ARM-compliance -// ARM 9.4 ``There cannot be a static and a nonstatic member function -// with the same name and the same argument types.'' -// -// The trick is to make sure it's caught with both orders (static, -// then normal, and vice-versa. - -class X { -public: - int foo(); - static int foo(); // error: redeclaration// ERROR - .* -}; - -class Y { -public: - static int foo(); - int foo(); // error: redeclaration// ERROR - .* -};