X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.oliva%2Ftemplate4.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.oliva%2Ftemplate4.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=4c2afc78d34ed520c2b5dd6d8ed63a41f185b917;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template4.C b/gcc/testsuite/g++.old-deja/g++.oliva/template4.C deleted file mode 100644 index 4c2afc78..00000000 --- a/gcc/testsuite/g++.old-deja/g++.oliva/template4.C +++ /dev/null @@ -1,20 +0,0 @@ -// Build don't link: - -// Copyright (C) 1999 Free Software Foundation - -// by Alexandre Oliva -// based on bug report by Andrey Slepuhin - -template struct X {}; - -int a = 1; -X x; // ok, a has external linkage - -const int b = 2; -X y; // ERROR - const b has internal linkage - -extern const int c; -X z; // ok, c has external linkage - -extern const int c = 3; -X z_; // gets bogus error - using c as constant