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 57808cc7664..af0d8f9f419 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 @@ -5787,7 +5787,7 @@ public class AST2TemplateTests extends AST2BaseTest { parseAndCheckBindings(); } - // template class TT> struct CTT { + // template class TT> struct CTT { // int y; // }; // template struct CT { @@ -5800,4 +5800,19 @@ public class AST2TemplateTests extends AST2BaseTest { public void testSpecializationOfClassType_368610c() throws Exception { parseAndCheckBindings(); } + + //struct A { + // int m(int i) const; + // void m() const; + //}; + // + //template struct B { + // typedef int (T::*Method)(int) const; + // B(Method p) {} + //}; + // + //B a(&A::m); + public void _testConstInTypeParameter_377223() throws Exception { + parseAndCheckBindings(); + } }