]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.ext/constructor.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.ext / constructor.C
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 (file)
index cdf9f1d..0000000
+++ /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;
-}