diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/memtemp76.C')
-rwxr-xr-x | gcc/testsuite/g++.old-deja/g++.pt/memtemp76.C | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/memtemp76.C b/gcc/testsuite/g++.old-deja/g++.pt/memtemp76.C new file mode 100755 index 0000000..b202851 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/memtemp76.C @@ -0,0 +1,17 @@ +// Build don't link: + +class base +{ +public: + virtual void method()=0; +}; + +class der: public base +{ +public: + template<class C> + void method() + { + C foo; + } +}; |