diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash33.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash33.C | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash33.C b/gcc/testsuite/g++.old-deja/g++.pt/crash33.C new file mode 100644 index 000000000..e2a59eb18 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/crash33.C @@ -0,0 +1,17 @@ +// { dg-do assemble } +// Origin: Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> + +class A { +public: + template <class T> T& f(T& t) const; +}; + +class B { +public: + template <class T> T& f(T& t) const; +}; + +class C: public A,B { +public: + template <class T> T& f(T& t) const; +}; |