diff --git a/test/liblll/EndToEndTest.cpp b/test/liblll/EndToEndTest.cpp index 85ce65a14..cc0d5e60c 100644 --- a/test/liblll/EndToEndTest.cpp +++ b/test/liblll/EndToEndTest.cpp @@ -1013,6 +1013,16 @@ BOOST_AUTO_TEST_CASE(sub_assemblies) BOOST_CHECK(rVal < u256("0x10000000000000000000000000000000000000000")); } +BOOST_AUTO_TEST_CASE(string_literal) +{ + char const* sourceCode = R"( + (returnlll + (return \"hello\"))) + )"; + compileAndRun(sourceCode); + BOOST_CHECK(callFallback() == encodeArgs(u256("68656c6c6f000000000000000000000000000000000000000000000000000000"))); +} + BOOST_AUTO_TEST_SUITE_END() }