summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-11 17:27:00 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2011-02-11 17:27:00 +0000
commitbb308a953b3973f0d0dbfa17cf03b4a4484ad852 (patch)
tree534e733694d11ce3ec15911bf58220f2af194411 /gcc/testsuite/g++.dg
parent0a10fd82fb8eec907699469cc74937386235fff3 (diff)
downloadgcc-bb308a953b3973f0d0dbfa17cf03b4a4484ad852.tar.gz
Revert "Fix PR c++/47172"
gcc/cp/ * pt.c (finish_call_expr, dependent_type_p) (type_dependent_expression_p): Revert the previous attempt to fix PR c++/47172. gcc/testsuite/ * g++.dg/template/inherit6.C: Reverted. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170055 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.dg')
-rw-r--r--gcc/testsuite/g++.dg/template/inherit6.C23
1 files changed, 0 insertions, 23 deletions
diff --git a/gcc/testsuite/g++.dg/template/inherit6.C b/gcc/testsuite/g++.dg/template/inherit6.C
deleted file mode 100644
index 241a68e5e4a..00000000000
--- a/gcc/testsuite/g++.dg/template/inherit6.C
+++ /dev/null
@@ -1,23 +0,0 @@
-// Origin PR c++/47172
-// { dg-options "-std=c++0x" }
-// { dg-do compile }
-
-struct A
-{
- int f() const;
-};
-
-template <class T>
-struct B : A { };
-
-template <class T>
-struct C : B<T>
-{
- void g();
-};
-
-template <class T>
-void C<T>::g()
-{
- A::f();
-}