X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900210_08.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.bugs%2F900210_08.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=40704d470c07236000abddfa010b23db33b4472e;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900210_08.C b/gcc/testsuite/g++.old-deja/g++.bugs/900210_08.C deleted file mode 100644 index 40704d47..00000000 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900210_08.C +++ /dev/null @@ -1,18 +0,0 @@ -// g++ 1.36.1 bug 900210_08 - -// g++ allows pointer-to-const values to be implicitly converted to -// void* values. This causes a silent loss of the const qualifier. - -// Cfront 2.0 passes this test. - -// keywords: pointer types, implicit type conversions - -const char *ccp; -void *vp; - -void function () -{ - vp = ccp; /* ERROR - */ -} - -int main () { return 0; }