X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fptrmem1.C;fp=gcc%2Ftestsuite%2Fg%2B%2B.old-deja%2Fg%2B%2B.brendan%2Fptrmem1.C;h=0000000000000000000000000000000000000000;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=49c9f75aa1f4659e91d22341c9cd3ff27a8c7085;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git 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 49c9f75a..00000000 --- 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); -}