X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb112.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.robertl%2Feb112.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=3233287ff100a4360a35b4f3937b6284f19f64f7;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.robertl/eb112.C b/gcc/testsuite/g++.old-deja/g++.robertl/eb112.C deleted file mode 100644 index 3233287f..00000000 --- a/gcc/testsuite/g++.old-deja/g++.robertl/eb112.C +++ /dev/null @@ -1,12 +0,0 @@ -// Build don't link: -template inline STRUCT * -setback(MEMBER *bp, MEMBER STRUCT::*offset) -{ - // The implementation of this function may be platform dependend - if(!bp) return 0; // NULL pointers remain NULL - union { int i; MEMBER STRUCT::*of; } u; // Switch types. Casting won't -+work. - u.of = offset; - return (STRUCT *) ((int) bp - u.i); -} -