X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fconstructor.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.ext%2Fconstructor.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=cdf9f1da98bf9bc6e6a78dac316d225b208bdbf3;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/testsuite/g++.old-deja/g++.ext/constructor.C b/gcc/testsuite/g++.old-deja/g++.ext/constructor.C deleted file mode 100644 index cdf9f1da..00000000 --- a/gcc/testsuite/g++.old-deja/g++.ext/constructor.C +++ /dev/null @@ -1,19 +0,0 @@ -// Testcase for constructor expressions (GNU extension) -// Special g++ Options: - -struct Any { - int *type; - int *addr; -}; - -int i, j; - -main () { - struct Any *ap = (struct Any *) - __builtin_alloca (sizeof(struct Any)); - *ap = ((struct Any){ &i, &j }) ; - - if (ap->type != &i || ap->addr != &j) - return 1; - return 0; -}