diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C | 21 |
1 files changed, 0 insertions, 21 deletions
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 index 49c9f75aa1f..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.brendan/ptrmem1.C +++ /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); -} |