mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix an error in a type resolution SOL test
This will also fix the build.
This commit is contained in:
parent
0d66d8cf7c
commit
4907bda371
@ -1906,7 +1906,7 @@ BOOST_AUTO_TEST_CASE(reference_compare_operators)
|
||||
)";
|
||||
BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode1), TypeError);
|
||||
char const* sourceCode2 = R"(
|
||||
contract test { struct s {uint a;}; s x; s y; function() { x == y; } }
|
||||
contract test { struct s {uint a;} s x; s y; function() { x == y; } }
|
||||
)";
|
||||
BOOST_CHECK_THROW(parseTextAndResolveNames(sourceCode2), TypeError);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user