PR c++/9411
* parser.c (cp_parser_postfix_expression): Check dependency of
functions.
PR c++/9411
* g++.dg/template/explicit2.C: New test.
From-SVN: r69196
+2003-07-10 Mark Mitchell <mark@codesourcery.com>
+
+ PR c++/9411
+ * parser.c (cp_parser_postfix_expression): Check dependency of
+ functions.
+
2003-07-09 Mark Mitchell <mark@codesourcery.com>
PR c++/10032
&& (type_dependent_expression_p (instance)
|| (!BASELINK_P (fn)
&& TREE_CODE (fn) != FIELD_DECL)
+ || type_dependent_expression_p (fn)
|| any_type_dependent_arguments_p (args)))
{
postfix_expression
2003-07-10 Mark Mitchell <mark@codesourcery.com>
+ PR c++/9411
+ * g++.dg/template/explicit2.C: New test.
+
PR c++/10032
* g++.dg/warn/pedantic1.C: New test.
--- /dev/null
+struct X {
+ template <class B> void foo(B);
+};
+
+template <class D>
+void bar() {
+ X().foo<D>(1);
+}
+
+template void bar<int> ();