Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2013-01-30 19:54:44 +0000
committerSergey Prigogin2013-01-30 21:20:46 +0000
commit334776a264619399ccd1e531d64ac6335930e5c3 (patch)
tree4d57c7fc02de719a360c745331a47be2df9b486c
parent62b2b932ae06ddd162d63e23c76ef21d547cc58b (diff)
downloadorg.eclipse.cdt-334776a264619399ccd1e531d64ac6335930e5c3.tar.gz
org.eclipse.cdt-334776a264619399ccd1e531d64ac6335930e5c3.tar.xz
org.eclipse.cdt-334776a264619399ccd1e531d64ac6335930e5c3.zip
Fixed an NPE.
-rw-r--r--core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TestBase.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TestBase.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TestBase.java
index afb76a90c9d..54928023f80 100644
--- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TestBase.java
+++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/core/parser/tests/ast2/AST2TestBase.java
@@ -110,6 +110,7 @@ public class AST2TestBase extends BaseTestCase {
map.put("__SIZEOF_SHORT__", "2");
map.put("__SIZEOF_INT__", "4");
map.put("__SIZEOF_LONG__", "8");
+ map.put("__SIZEOF_POINTER__", "8");
return map;
}
@@ -118,6 +119,7 @@ public class AST2TestBase extends BaseTestCase {
map.put("__SIZEOF_SHORT__", "2");
map.put("__SIZEOF_INT__", "4");
map.put("__SIZEOF_LONG__", "8");
+ map.put("__SIZEOF_POINTER__", "8");
return map;
}

Back to the top