diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java index 769a1af3b0f..f73ba171e95 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java @@ -1041,10 +1041,11 @@ public class IndexCPPBindingResolutionBugs extends IndexBindingResolutionTestBas // void func(const int* x) {} // void func(int* p) { - // func(const_cast(p)); + // const int* q = p; + // func(q); // } - public void _testFunctionWithConstCast_Bug256240() throws Exception { - getBindingFromASTName("func(const_cast", 4, ICPPFunction.class); + public void _testOverloadedFunctionFromIndex_Bug256240() throws Exception { + getBindingFromASTName("func(q", 4, ICPPFunction.class); } private void assertBindings(String[] expected, ICPPBase[] bases) throws DOMException {