]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/conv9.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / conv9.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/conv9.C b/gcc/testsuite/g++.old-deja/g++.other/conv9.C
deleted file mode 100644 (file)
index 4fd022b..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-// Build don't link:
-
-struct
-Foo
-{
-public:
-  typedef void* (*copier_fn)(void const*);
-  void foo() const;
-  void bar(char const*, void const*) const;
-private:
-  struct
-  Bar
-  {
-    char const* key;
-    void const* item;
-  };
-};
-
-void
-Foo::foo() const
-{
-  Bar* cp = 0;
-  copier_fn copyfn = 0;
-
-  bar(cp->key, cp->item);
-  bar(cp->key, (copyfn) ? (*copyfn)(cp) : 0);
-  bar(cp->key, (copyfn) ? (*copyfn)(0) : 0);
-
-  bar(cp->key, (copyfn) ? (*copyfn)(0) : cp->item);
-  bar(cp->key, (copyfn) ? (*copyfn)(cp) : cp->item);
-}