diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.ext/constructor.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.ext/constructor.C | 19 |
1 files changed, 0 insertions, 19 deletions
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 cdf9f1da98b..00000000000 --- 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; -} |