X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fderef1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.other%2Fderef1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=706cd92390165a31ba1b2d2620b5fdb936d3febf;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.other/deref1.C b/gcc/testsuite/g++.old-deja/g++.other/deref1.C deleted file mode 100644 index 706cd923..00000000 --- a/gcc/testsuite/g++.old-deja/g++.other/deref1.C +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (C) 1999 Free Software Foundation, Inc. -// Contributed by Nathan Sidwell 1 Sep 1999 - -// [expr.unary.op]/1 says you can dereference all pointers except for pointers -// to cv void. - -void fn (void *vp, volatile void *vvp) -{ - *vp; // ERROR - not a pointer to object - *vvp; // ERROR - not a pointer to object - &*vp; // ERROR - not a pointer to object - &*vvp; // ERROR - not a pointer to object -}