]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / ptrmem1.C
diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C b/gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C
deleted file mode 100644 (file)
index 49c9f75..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-// Build don't link: 
-// GROUPS passed pointers-to-members
-class my_class 
-{
-public:
-  typedef void func_type (int num);
-  my_class (int num, func_type* proc);
-  void dispatch (void);
-private:
-  int _num;
-  func_type *_proc;
-};
-
-my_class::my_class (int num, func_type* proc) : _num(num), _proc(proc) 
-{
-}
-
-void my_class::dispatch (void)
-{
-  _proc(_num);
-}