Fix assignment after tags in inline assembly

This commit is contained in:
Alex Beregszaszi
2016-10-11 12:28:49 +01:00
parent d3f410d8a8
commit d0791fb365
3 changed files with 9 additions and 1 deletions
+5
View File
@@ -157,6 +157,11 @@ BOOST_AUTO_TEST_CASE(oversize_string_literals)
BOOST_CHECK(!successAssemble("{ let x := \"123456789012345678901234567890123\" }"));
}
BOOST_AUTO_TEST_CASE(assignment_after_tag)
{
BOOST_CHECK(successParse("{ let x := 1 { tag: =: x } }"));
}
BOOST_AUTO_TEST_SUITE_END()
}