mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix some styling issues and remove comments
This commit is contained in:
parent
621215918d
commit
de09be29ba
@ -384,10 +384,10 @@ BOOST_AUTO_TEST_CASE(create_abstract_contract)
|
||||
ASTPointer<SourceUnit> sourceUnit;
|
||||
char const* text = R"(
|
||||
contract base { function foo(); }
|
||||
contract derived {
|
||||
contract derived {
|
||||
base b;
|
||||
function foo() { b = new base();}
|
||||
}
|
||||
function foo() { b = new base();}
|
||||
}
|
||||
)";
|
||||
BOOST_CHECK_THROW(parseTextAndResolveNames(text), TypeError);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user