diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java index a9e92744003..d9ba3caf37b 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TemplateTests.java @@ -5196,9 +5196,34 @@ public class AST2TemplateTests extends AST2BaseTest { // template class X {}; // template void Y(); - // X< Y > x; // Problem on X< Y > + // X< Y > x; public void testFunctionInstanceAsTemplateArg_Bug333529() throws Exception { parseAndCheckBindings(); } + // template + // class M {}; + // + // template + // U F(); + // + // template (*Func)()> + // struct G { + // M operator()(); + // }; + // + // template + // struct H : public G > {}; + // + // H > C; + // + // template + // void P(M a); + // + // void test() { + // P(C()); + // } + public void _testFunctionInstanceAsTemplateArg_Bug334472() throws Exception { + parseAndCheckBindings(); + } }