Fix test builtins & add simple smoke test.

This commit is contained in:
Alexander Arlt
2021-04-26 07:51:43 -05:00
parent dce3006723
commit 8239eaa1b8
4 changed files with 21 additions and 0 deletions
+2
View File
@@ -127,6 +127,8 @@ vector<solidity::frontend::test::FunctionCall> TestFileParser::parseFunctionCall
tie(call.signature, lowLevelCall) = parseFunctionSignature();
if (lowLevelCall)
call.kind = FunctionCall::Kind::LowLevel;
else if (isBuiltinFunction(call.signature))
call.kind = FunctionCall::Kind::Builtin;
if (accept(Token::Comma, true))
call.value = parseFunctionCallValue();