Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Ridge2020-03-23 04:54:12 +0000
committerNathan Ridge2020-03-23 19:23:57 +0000
commitce974266881b99ce2eec9e7daed6b33beef2b66c (patch)
treebc962422e8dd6afd1ee7f03db3a6e98667b8bfe7 /core/org.eclipse.cdt.core.tests
parent5f316f404506ab1d1d14f1d32843bbe2ed3da04f (diff)
downloadorg.eclipse.cdt-ce974266881b99ce2eec9e7daed6b33beef2b66c.tar.gz
org.eclipse.cdt-ce974266881b99ce2eec9e7daed6b33beef2b66c.tar.xz
org.eclipse.cdt-ce974266881b99ce2eec9e7daed6b33beef2b66c.zip
Bug 561128 - Allow storing all local types in the index, not just typedefs
Diffstat (limited to 'core/org.eclipse.cdt.core.tests')
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/cxx14/constexpr/FunctionTests.java3
1 files changed, 1 insertions, 2 deletions
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);

Back to the top