]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/sibcall2.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / sibcall2.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/sibcall2.C b/gcc/testsuite/g++.old-deja/g++.other/sibcall2.C
deleted file mode 100644 (file)
index 0248574..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// Build don't link:
-// Special g++ Options: -O2 -foptimize-sibling-calls -fno-exceptions
-
-struct X
-{
-  const char *c() const { return b; };
-  char *b;
-};
-extern "C" int f (const char *);
-struct A
-{
-   X x;
-   void y();
-};
-void A::y()
-{
-  const char *const a[] = { x.c() };
-  f (a[0]);
-}