X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Frfg18.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.jason%2Frfg18.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=53c3dd1628f7c52d616172e829ef3989867f9596;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C b/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C deleted file mode 100644 index 53c3dd16..00000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/rfg18.C +++ /dev/null @@ -1,11 +0,0 @@ -// Any expression may be explicitly converted to type void. -// Build don't link: - -struct S { int m[10]; } object; -struct S f () { return object; } - -void -test () -{ - (void) f().m; /* OK - cast to void; see constraints in 3.8.1 */ -}