From 8a315d08222f012a9fc29c5ee258d9b70538ad98 Mon Sep 17 00:00:00 2001 From: Sergey Prigogin Date: Sun, 16 Jan 2011 20:33:32 +0000 Subject: [PATCH] Bug 334472 - Failing test case. --- .../parser/tests/ast2/AST2TemplateTests.java | 27 ++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) 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(); + } }