From ce974266881b99ce2eec9e7daed6b33beef2b66c Mon Sep 17 00:00:00 2001 From: Nathan Ridge Date: Mon, 23 Mar 2020 00:54:12 -0400 Subject: Bug 561128 - Allow storing all local types in the index, not just typedefs Change-Id: I4bb76e199557e2dfe1fcab3a435434612b3334a5 --- .../cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'core/org.eclipse.cdt.core.tests') diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java index 7a02be8d2b5..90bc538a0f4 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java @@ -282,11 +282,10 @@ public class FunctionTests extends TestBase { assertEvaluationEquals(58); } - // //Empty header file - // constexpr int f() { // return ([]() constexpr -> int {return 58;})(); // } + // constexpr int x = f(); public void testLambdaExpression2_560483() throws Exception { assertEvaluationEquals(58); -- cgit v1.2.3