X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900404_01.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900404_01.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=f728865961fec18264bf2bf9eadb565f60d76a36;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900404_01.C b/gcc/testsuite/g++.old-deja/g++.bugs/900404_01.C deleted file mode 100644 index f7288659..00000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900404_01.C +++ /dev/null @@ -1,15 +0,0 @@ -// g++ 1.37.1 bug 900404_01 - -// g++ allows string initializers for known-length character arrays to be -// one character longer (counting the terminating null) than the actual -// length of the array to be initialized. - -// The C++ Reference Manual (section 8.4.2) expressly prohibits this. - -// Cfront 2.0 passes this test. - -// keywords: arrays, initialization, array bounds - -char cv[4] = "asdf"; // ERROR - missed - -int main () { return 0; }