Skip to content
Snippets Groups Projects
Commit ce6cefdc authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

Semantic testcase fix (enum initialization)


Change-Id: I4729eb2327f1893623665315af17b224e7d631ac
Signed-off-by: default avatarBenceJanosSzabo <bence.janos.szabo@ericsson.com>
parent 09830656
No related branches found
No related tags found
No related merge requests found
......@@ -99,7 +99,7 @@ bool EnumItem::calculate_int_value() {
switch (v->get_valuetype()) {
case Value::V_INT:
int_value = new int_val_t(v->get_val_Int()->get_val());
int_value = new int_val_t(*(v->get_val_Int()));
break;
case Value::V_BSTR: {
long int res = strtol(v->get_val_str().c_str(), NULL, 2);
......
......@@ -672,7 +672,7 @@ END
<RESULT IF_PASS COUNT 1>
(?im)\berror\b.+?no.+?assignment.+?Nonexi
<END_RESULT>
<RESULT IF_PASS COUNT 1>
<RESULT IF_PASS COUNT 3>
(?is)\berror:
<END_RESULT>
<RESULT IF_PASS POSITIVE>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment