X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Fclasskey1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.dg%2Fother%2Fclasskey1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=17fb54065d0256701d93a00078b16f07d7264ec5;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.dg/other/classkey1.C b/gcc/testsuite/g++.dg/other/classkey1.C deleted file mode 100644 index 17fb5406..00000000 --- a/gcc/testsuite/g++.dg/other/classkey1.C +++ /dev/null @@ -1,17 +0,0 @@ -// { dg-do compile } - -// Copyright (C) 2002 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 28 Feb 2002 - -// PR 775. Some mismatches which were broken. - -template struct A {}; -union A a; // { dg-error "`union' tag" "" } - -template <> union A {}; // { dg-error "`union' tag" "" } - -struct B {}; -union B b; // { dg-error "`union' tag" "" } - -union C {}; -class C c; // { dg-error "`class' tag" "" }