solidity/test/libsolidity/ASTJSON/documentation.sol
2020-05-19 11:01:52 -05:00

21 lines
400 B
Solidity

// ---- 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 state var.*/ uint public state;
/** Some comment on Evt.*/ event Evt();
/** Some comment on mod.*/ modifier mod() { _; }
/** Some comment on fn.*/ function fn() public {}
}
// ----