]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.benjamin/15822.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.benjamin / 15822.C
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/15822.C b/gcc/testsuite/g++.old-deja/g++.benjamin/15822.C
deleted file mode 100644 (file)
index ecd93af..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-// 981203 bkoz
-// g++/15822
-
-#include <assert.h>
-
-static unsigned int gcount;
-
-struct playahermosa {
-  playahermosa() { ++gcount; }
-  playahermosa(const playahermosa &) { ++gcount; }
-  ~playahermosa() { --gcount; }
-};
-
-struct playacoco {
-  playacoco(const playahermosa& = playahermosa()) {  } //create a temporary
-};
-
-void foo(playacoco *) { }
-
-int main() 
-{
-   playacoco bar[2];
-   foo(bar);
-   assert (gcount == 0);
-
-   return 0;
-}