changed the test so constructor will have input parameters

This commit is contained in:
Liana Husikyan
2015-04-27 13:08:32 +02:00
parent 648ce85256
commit 88536f90e8
4 changed files with 83 additions and 31 deletions
+13 -2
View File
@@ -521,8 +521,19 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
arguments.front()->accept(*this);
appendTypeConversion(*arguments.front()->getType(),
*function.getParameterTypes().front(), true);
appendExternalFunctionCall(FunctionType(TypePointers{}, TypePointers{},
Location::External, false, true, true), {}, true);
appendExternalFunctionCall(
FunctionType(
TypePointers{},
TypePointers{},
strings(),
Location::External,
false,
true,
true
),
{},
true
);
break;
case Location::Suicide:
arguments.front()->accept(*this);