From 8775e77305f84117827f1e6165c4d3776c51f667 Mon Sep 17 00:00:00 2001 From: Yoichi Hirai Date: Fri, 9 Jun 2017 15:35:27 +0200 Subject: Add a warning about a varialbe of the name of an instruction --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libsolidity') diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp index 438a2b66..ba2ade66 100644 --- a/test/libsolidity/SolidityNameAndTypeResolution.cpp +++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp @@ -5790,7 +5790,7 @@ BOOST_AUTO_TEST_CASE(returndatacopy_as_variable) char const* text = R"( contract c { function f() { uint returndatasize; assembly { returndatasize }}} )"; - CHECK_WARNING_ALLOW_MULTI(text, "shadowed by an insturction of the same name"); + CHECK_WARNING_ALLOW_MULTI(text, "Variable is shadowed in inline assembly by an instruction of the same name"); } BOOST_AUTO_TEST_CASE(shadowing_warning_can_be_removed) -- cgit v1.2.3