mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Extract AST JSON tests.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// ---- SOURCE: a
|
||||
|
||||
/**This contract is empty*/ contract C {}
|
||||
|
||||
// ---- SOURCE: b
|
||||
|
||||
/**This contract is empty
|
||||
and has a line-breaking comment.*/
|
||||
contract C {}
|
||||
|
||||
// ---- SOURCE: c
|
||||
|
||||
contract C {
|
||||
/** Some comment on Evt.*/ event Evt();
|
||||
/** Some comment on mod.*/ modifier mod() { _; }
|
||||
/** Some comment on fn.*/ function fn() public {}
|
||||
}
|
||||
Reference in New Issue
Block a user